aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-07-03 00:08:48 +0530
committerNeeraj Singh <neerajdotname@gmail.com>2013-07-03 00:10:55 +0530
commit8ef2463807402f3e81bc5bbfe7206e2314cc79dc (patch)
tree788f7dc7b285dbddd2621184970a90b2586c32db /activerecord/lib/active_record/associations/builder
parentf98d47b1abff6263c3bf0514c64742e15f9a02b3 (diff)
downloadrails-8ef2463807402f3e81bc5bbfe7206e2314cc79dc.tar.gz
rails-8ef2463807402f3e81bc5bbfe7206e2314cc79dc.tar.bz2
rails-8ef2463807402f3e81bc5bbfe7206e2314cc79dc.zip
Removed support for deprecated `delete_sql` in associations.
Diffstat (limited to 'activerecord/lib/active_record/associations/builder')
-rw-r--r--activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb b/activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb
index 26b57cae0a..64ee24c7c6 100644
--- a/activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb
+++ b/activerecord/lib/active_record/associations/builder/has_and_belongs_to_many.rb
@@ -5,7 +5,7 @@ module ActiveRecord::Associations::Builder
end
def valid_options
- super + [:join_table, :association_foreign_key, :delete_sql]
+ super + [:join_table, :association_foreign_key]
end
def build