aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/mass_assignment_security.rb
diff options
context:
space:
mode:
authorPaco Guzman <fjguzman@aspgems.com>2011-03-06 22:34:01 +0100
committerPaco Guzman <fjguzman@aspgems.com>2011-03-06 22:34:01 +0100
commit14c254aba379693f4a6bd92e8d22819020bfcc9f (patch)
tree08749225a808724eca5096cc3217a27b35b04b27 /activemodel/lib/active_model/mass_assignment_security.rb
parent071ddb82812d1336450c9cbc6b317d5edfff3731 (diff)
downloadrails-14c254aba379693f4a6bd92e8d22819020bfcc9f.tar.gz
rails-14c254aba379693f4a6bd92e8d22819020bfcc9f.tar.bz2
rails-14c254aba379693f4a6bd92e8d22819020bfcc9f.zip
Remove Example headers. Code just flows with the text. 6ce844a3
Diffstat (limited to 'activemodel/lib/active_model/mass_assignment_security.rb')
-rw-r--r--activemodel/lib/active_model/mass_assignment_security.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/mass_assignment_security.rb b/activemodel/lib/active_model/mass_assignment_security.rb
index 97e31d4243..be48415739 100644
--- a/activemodel/lib/active_model/mass_assignment_security.rb
+++ b/activemodel/lib/active_model/mass_assignment_security.rb
@@ -54,9 +54,7 @@ module ActiveModel
# Mass-assignment to these attributes will simply be ignored, to assign
# to them you can use direct writer methods. This is meant to protect
# sensitive attributes from being overwritten by malicious users
- # tampering with URLs or forms.
- #
- # == Example
+ # tampering with URLs or forms. Example:
#
# class Customer
# include ActiveModel::MassAssignmentSecurity