Skip to content

Commit

Permalink
Updating ActiveModel::Errors documentation to plug Translations and V…
Browse files Browse the repository at this point in the history
…alidations modules
  • Loading branch information
mikel committed Jan 17, 2010
1 parent 19814df commit a6831b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion activemodel/lib/active_model/errors.rb
Expand Up @@ -41,7 +41,10 @@ module ActiveModel
#
# The last three methods are required in your object for Errors to be
# able to generate error messages correctly and also handle multiple
# languages.
# languages. Of course, if you extend your object with ActiveModel::Translations
# you will not need to implement the last two. Likewise, using
# ActiveModel::Validations will handle the validation related methods
# for you.
#
# The above allows you to do:
#
Expand Down

0 comments on commit a6831b9

Please sign in to comment.