aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder/has_many.rb
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-07-03 00:46:39 +0530
committerNeeraj Singh <neerajdotname@gmail.com>2013-07-03 00:56:20 +0530
commit0e3700364c98fe8f766fea8d711795dfe15e7ff0 (patch)
treeeaf4a6080e62dbec12a4cfce0e5b102c74b1ad4f /activerecord/lib/active_record/associations/builder/has_many.rb
parenta95cbabc358a6f221b288f93fd8d48d769f6d23b (diff)
downloadrails-0e3700364c98fe8f766fea8d711795dfe15e7ff0.tar.gz
rails-0e3700364c98fe8f766fea8d711795dfe15e7ff0.tar.bz2
rails-0e3700364c98fe8f766fea8d711795dfe15e7ff0.zip
Dropped deprecated option `:restrict` for `:dependent` in associations
Diffstat (limited to 'activerecord/lib/active_record/associations/builder/has_many.rb')
-rw-r--r--activerecord/lib/active_record/associations/builder/has_many.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/has_many.rb b/activerecord/lib/active_record/associations/builder/has_many.rb
index 0d1bdd21ee..a60cb4769a 100644
--- a/activerecord/lib/active_record/associations/builder/has_many.rb
+++ b/activerecord/lib/active_record/associations/builder/has_many.rb
@@ -9,7 +9,7 @@ module ActiveRecord::Associations::Builder
end
def valid_dependent_options
- [:destroy, :delete_all, :nullify, :restrict, :restrict_with_error, :restrict_with_exception]
+ [:destroy, :delete_all, :nullify, :restrict_with_error, :restrict_with_exception]
end
end
end