1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

formatting changes

This commit is contained in:
unknown 2015-05-29 16:27:23 -04:00
parent b42d770b3b
commit 3833d4529f
2 changed files with 5 additions and 5 deletions

View file

@ -225,7 +225,7 @@ module ActiveModel
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
@ -253,7 +253,7 @@ module ActiveModel
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

View file

@ -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: