aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-07-02 12:24:12 +0530
committerNeeraj Singh <neerajdotname@gmail.com>2013-07-02 17:54:16 +0530
commit4bf1ecd6d8ce38e63a0be81287b07f402ce8b5c8 (patch)
tree0be0916a199b89aabc2d66d5d7b1e5fb3226dbf9 /activerecord/lib/active_record/associations/builder
parent173d4b9d93bac1e0b60520e3850f2b09e6a44a7f (diff)
downloadrails-4bf1ecd6d8ce38e63a0be81287b07f402ce8b5c8.tar.gz
rails-4bf1ecd6d8ce38e63a0be81287b07f402ce8b5c8.tar.bz2
rails-4bf1ecd6d8ce38e63a0be81287b07f402ce8b5c8.zip
Removed support for deprecated `counter_sql`
Diffstat (limited to 'activerecord/lib/active_record/associations/builder')
-rw-r--r--activerecord/lib/active_record/associations/builder/collection_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/collection_association.rb b/activerecord/lib/active_record/associations/builder/collection_association.rb
index c24432c863..69627893c8 100644
--- a/activerecord/lib/active_record/associations/builder/collection_association.rb
+++ b/activerecord/lib/active_record/associations/builder/collection_association.rb
@@ -8,7 +8,7 @@ module ActiveRecord::Associations::Builder
CALLBACKS = [:before_add, :after_add, :before_remove, :after_remove]
def valid_options
- super + [:table_name, :finder_sql, :counter_sql, :before_add,
+ super + [:table_name, :finder_sql, :before_add,
:after_add, :before_remove, :after_remove, :extend]
end