diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-06-23 17:38:31 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-06-23 17:38:31 -0300 |
commit | 02a723f7b5f30b00fc77bc85162598f707c7b682 (patch) | |
tree | f3761e591165cac781455b7fbf27b1ba316a3e90 /activerecord/lib/active_record/connection_adapters/abstract | |
parent | bc899fd3a37fae7e0024e8f0439f204818aeafd7 (diff) | |
download | rails-02a723f7b5f30b00fc77bc85162598f707c7b682.tar.gz rails-02a723f7b5f30b00fc77bc85162598f707c7b682.tar.bz2 rails-02a723f7b5f30b00fc77bc85162598f707c7b682.zip |
Arel now buils SQL queries for associations. Removed old code and
updated Arel version to support this.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index ff63ea3a2e..2f01a303e5 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -403,12 +403,6 @@ module ActiveRecord "DISTINCT #{columns}" end - # ORDER BY clause for the passed order option. - # PostgreSQL overrides this due to its stricter standards compliance. - def add_order_by_for_association_limiting!(sql, options) - sql << " ORDER BY #{options[:order]}" - end - # Adds timestamps (created_at and updated_at) columns to the named table. # ===== Examples # add_timestamps(:suppliers) |