diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-06-27 20:01:50 +0200 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-06-27 20:38:30 +0200 |
commit | 468939297db91f8e595a93c94a16e23b26eee61a (patch) | |
tree | a9b5bd13c3548207a4db803bed1d9388e9591e5f /activerecord/lib | |
parent | 90f00142e6ff6a674f89c51a6784309b24b246bf (diff) | |
download | rails-468939297db91f8e595a93c94a16e23b26eee61a.tar.gz rails-468939297db91f8e595a93c94a16e23b26eee61a.tar.bz2 rails-468939297db91f8e595a93c94a16e23b26eee61a.zip |
Remove deprecated attr_protected/accessible
Rails 4.0 has removed attr_protected and attr_accessible feature in favor of Strong Parameters.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/attribute_assignment.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_assignment.rb b/activerecord/lib/active_record/attribute_assignment.rb index 75377bba57..4f06955406 100644 --- a/activerecord/lib/active_record/attribute_assignment.rb +++ b/activerecord/lib/active_record/attribute_assignment.rb @@ -3,7 +3,6 @@ require 'active_model/forbidden_attributes_protection' module ActiveRecord module AttributeAssignment extend ActiveSupport::Concern - include ActiveModel::DeprecatedMassAssignmentSecurity include ActiveModel::ForbiddenAttributesProtection # Allows you to set all the attributes by passing in a hash of attributes with |