Skip to content

Commit

Permalink
minor corrections in AMo::Model docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaydev committed Mar 5, 2012
1 parent cf75417 commit c0a7999
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions activemodel/README.rdoc
Expand Up @@ -28,8 +28,8 @@ to integrate with Action Pack out of the box: +ActiveModel::Model+.
person.age # => 18
person.valid? # => false

It includes model name instrospection, conversions, translations and
validations, resulting in a class suitable to be used with ActionPack.
It includes model name introspections, conversions, translations and
validations, resulting in a class suitable to be used with Action Pack.
See +ActiveModel::Model+ for more examples.

Active Model also provides the following functionality to have ORM-like
Expand Down
6 changes: 3 additions & 3 deletions activemodel/lib/active_model/model.rb
Expand Up @@ -3,8 +3,8 @@ module ActiveModel
# == Active Model Basic Model
#
# Includes the required interface for an object to interact with +ActionPack+,
# using different +ActiveModel+ modules. It includes model name instrospection,
# conversions, translations and validations . Besides that, it allows you to
# using different +ActiveModel+ modules. It includes model name introspections,
# conversions, translations and validations. Besides that, it allows you to
# initialize the object with a hash of attributes, pretty much like
# +ActiveRecord+ does.
#
Expand Down Expand Up @@ -51,7 +51,7 @@ module ActiveModel
# person = Person.new(:id => 1, :name => 'bob')
# person.omg # => true
#
# For more detailed information on other functionality available, please refer
# For more detailed information on other functionalities available, please refer
# to the specific modules included in +ActiveModel::Model+ (see below).
module Model
def self.included(base)
Expand Down

0 comments on commit c0a7999

Please sign in to comment.