Skip to content
Browse files

Update errors docs

  • Loading branch information...
1 parent cf55e4e commit 87bd8c803b530fedde3d440f991da2726541990c @mikel mikel committed Jan 17, 2010
Showing with 4 additions and 5 deletions.
  1. +4 −5 activemodel/lib/active_model/errors.rb
View
9 activemodel/lib/active_model/errors.rb
@@ -9,6 +9,9 @@ module ActiveModel
#
# class Person
#
+ # # Required dependency for ActiveModel::Errors
+ # extend ActiveModel::Naming
+ #
# def initialize
# @errors = ActiveModel::Errors.new(self)
# end
@@ -34,13 +37,9 @@ module ActiveModel
# [self]
# end
#
- # def ErrorsPerson.model_name
- # ActiveModel::Name.new(ErrorsPerson)
- # end
- #
# end
#
- # The last four 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.
#

0 comments on commit 87bd8c8

Please sign in to comment.
Something went wrong with that request. Please try again.