Skip to content

Commit

Permalink
Merge pull request #20370 from manishspuri/master
Browse files Browse the repository at this point in the history
formatting changes
  • Loading branch information
kaspth committed May 29, 2015
2 parents b42d770 + 3833d45 commit f06605d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions activemodel/lib/active_model/attribute_methods.rb
Expand Up @@ -225,7 +225,7 @@ def attribute_alias(name)
end

# Declares the attributes that should be prefixed and suffixed by
# ActiveModel::AttributeMethods.
# <tt>ActiveModel::AttributeMethods</tt>.
#
# To use, pass attribute names (as strings or symbols). Be sure to declare
# +define_attribute_methods+ after you define any prefix, suffix or affix
Expand Down Expand Up @@ -253,7 +253,7 @@ def define_attribute_methods(*attr_names)
end

# Declares an attribute that should be prefixed and suffixed by
# ActiveModel::AttributeMethods.
# <tt>ActiveModel::AttributeMethods</tt>.
#
# To use, pass an attribute name (as string or symbol). Be sure to declare
# +define_attribute_method+ after you define any prefix, suffix or affix
Expand Down
6 changes: 3 additions & 3 deletions activemodel/lib/active_model/errors.rb
Expand Up @@ -43,11 +43,11 @@ module ActiveModel
# end
# end
#
# The last three methods are required in your object for Errors to be
# The last three methods are required in your object for +Errors+ to be
# able to generate error messages correctly and also handle multiple
# languages. Of course, if you extend your object with ActiveModel::Translation
# languages. Of course, if you extend your object with <tt>ActiveModel::Translation</tt>
# you will not need to implement the last two. Likewise, using
# ActiveModel::Validations will handle the validation related methods
# <tt>ActiveModel::Validations</tt> will handle the validation related methods
# for you.
#
# The above allows you to do:
Expand Down

0 comments on commit f06605d

Please sign in to comment.