Skip to content

Commit

Permalink
Remove deprecated attr_protected/accessible
Browse files Browse the repository at this point in the history
Rails 4.0 has removed attr_protected and attr_accessible feature in favor of Strong Parameters.
  • Loading branch information
lukaszx0 committed Jun 27, 2013
1 parent 90f0014 commit 4689392
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion activemodel/lib/active_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ module ActiveModel
autoload :ForbiddenAttributesProtection
autoload :Lint
autoload :Model
autoload :DeprecatedMassAssignmentSecurity
autoload :Name, 'active_model/naming'
autoload :Naming
autoload :SecurePassword
Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions activemodel/test/cases/deprecated_mass_assignment_security_test.rb

This file was deleted.

1 change: 0 additions & 1 deletion activerecord/lib/active_record/attribute_assignment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
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
Expand Down

0 comments on commit 4689392

Please sign in to comment.