Permalink
Browse files

Remove Example headers. Code just flows with the text. 6ce844a

  • Loading branch information...
1 parent 071ddb8 commit 14c254aba379693f4a6bd92e8d22819020bfcc9f Paco Guzman committed Mar 6, 2011
@@ -3,8 +3,6 @@ module ActiveModel
#
# Handles default conversions: to_model, to_key and to_param.
#
- # == Example
- #
# Let's take for example this non persisted object.
#
# class ContactMessage
@@ -54,9 +54,7 @@ module ClassMethods
# 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
@@ -98,9 +98,7 @@ module ActiveModel #:nodoc:
class Validator
attr_reader :options
- # Returns the kind of the validator.
- #
- # == Examples
+ # Returns the kind of the validator. Examples:
#
# PresenceValidator.kind # => :presence
# UniquenessValidator.kind # => :uniqueness

0 comments on commit 14c254a

Please sign in to comment.