aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-29 22:56:04 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-29 22:56:04 -0500
commitc57b8d236bbca25fa655a7ed48ae60dd46c0f257 (patch)
treea16843d39e9923bad9f317bf6efa70946d0b3b65 /activemodel
parentcb6c3e28afe2a2dca04cbb398823c664ab857800 (diff)
downloadrails-c57b8d236bbca25fa655a7ed48ae60dd46c0f257.tar.gz
rails-c57b8d236bbca25fa655a7ed48ae60dd46c0f257.tar.bz2
rails-c57b8d236bbca25fa655a7ed48ae60dd46c0f257.zip
fix class reference in AM::MassAssignmentSecurity documentation [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/mass_assignment_security.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/mass_assignment_security.rb b/activemodel/lib/active_model/mass_assignment_security.rb
index 540b90c4cc..19359896d0 100644
--- a/activemodel/lib/active_model/mass_assignment_security.rb
+++ b/activemodel/lib/active_model/mass_assignment_security.rb
@@ -4,7 +4,7 @@ require 'active_model/mass_assignment_security/permission_set'
require 'active_model/mass_assignment_security/sanitizer'
module ActiveModel
- # = Active Model Mass-Assignment Security
+ # == Active Model Mass-Assignment Security
#
# Mass assignment security provides an interface for protecting attributes
# from end-user assignment. For more complex permissions, mass assignment
@@ -35,7 +35,7 @@ module ActiveModel
#
# end
#
- # = Configuration options
+ # === Configuration options
#
# * <tt>mass_assignment_sanitizer</tt> - Defines sanitize method. Possible
# values are:
@@ -295,7 +295,7 @@ module ActiveModel
# end
# end
#
- # # See ActiveModel::MassAssignmentSecurity::Sanitizer::StrictSanitizer for more information.
+ # # See ActiveModel::MassAssignmentSecurity::StrictSanitizer for more information.
# Customer.mass_assignment_sanitizer = :strict
#
# customer = Customer.new