diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-03 16:56:37 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-03 16:57:19 -0200 |
commit | 51b901408e09e8c501261df6e2a0a4d0607af3b7 (patch) | |
tree | aeb34b3d7680c01954ce4306406becb3053a4599 /actionpack | |
parent | fa0aebf320995a598c5bffda729aed4429681f3a (diff) | |
download | rails-51b901408e09e8c501261df6e2a0a4d0607af3b7.tar.gz rails-51b901408e09e8c501261df6e2a0a4d0607af3b7.tar.bz2 rails-51b901408e09e8c501261df6e2a0a4d0607af3b7.zip |
Remove #permitted attr accessor from Parameters
There is no need to expose this accessor since we already have the query
method #permitted? that should handle this purpose.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index 04dc1d37f7..bd0bcd23ff 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -65,7 +65,6 @@ module ActionController # params["key"] # => "value" class Parameters < ActiveSupport::HashWithIndifferentAccess cattr_accessor :permit_all_parameters, instance_accessor: false - attr_accessor :permitted # :nodoc: # Returns a new instance of <tt>ActionController::Parameters</tt>. # Also, sets the +permitted+ attribute to the default value of |