aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-20 00:08:21 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-20 12:18:58 -0500
commit3759e328822adc836c7eed625c2c350972744bfe (patch)
tree7e85a281524dbe6c8d90658d427a85cb5b3339e9 /activemodel
parent303448950013444b9f7d71defb4bb503a29eccf2 (diff)
downloadrails-3759e328822adc836c7eed625c2c350972744bfe.tar.gz
rails-3759e328822adc836c7eed625c2c350972744bfe.tar.bz2
rails-3759e328822adc836c7eed625c2c350972744bfe.zip
add :nodoc: directives to AMo::DeprecatedMassAssignmentSecurity [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/deprecated_mass_assignment_security.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/deprecated_mass_assignment_security.rb b/activemodel/lib/active_model/deprecated_mass_assignment_security.rb
index 16b8466e55..c25cd9367d 100644
--- a/activemodel/lib/active_model/deprecated_mass_assignment_security.rb
+++ b/activemodel/lib/active_model/deprecated_mass_assignment_security.rb
@@ -1,15 +1,15 @@
module ActiveModel
- module DeprecatedMassAssignmentSecurity
+ module DeprecatedMassAssignmentSecurity # :nodoc:
extend ActiveSupport::Concern
module ClassMethods
- def attr_protected(*args)
+ def attr_protected(*args) # :nodoc:
raise "`attr_protected` is extracted out of Rails into a gem. " \
"Please use new recommended protection model for params " \
"or add `protected_attributes` to your Gemfile to use old one."
end
- def attr_accessible(*args)
+ def attr_accessible(*args) # :nodoc:
raise "`attr_accessible` is extracted out of Rails into a gem. " \
"Please use new recommended protection model for params " \
"or add `protected_attributes` to your Gemfile to use old one."