aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-30 14:38:12 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-30 14:38:13 -0300
commit3d0c0c6c95f8ed35c3fea79cfe93ec6e74f726ec (patch)
tree23d3f94111ee9f5d0c3ecc4d4f10b8390051f4cc /activemodel/lib/active_model
parent7860bf11d862a6eb1bd9ada85bcd97f17a2cb536 (diff)
downloadrails-3d0c0c6c95f8ed35c3fea79cfe93ec6e74f726ec.tar.gz
rails-3d0c0c6c95f8ed35c3fea79cfe93ec6e74f726ec.tar.bz2
rails-3d0c0c6c95f8ed35c3fea79cfe93ec6e74f726ec.zip
Improve changelog entry for ActiveModel::Errors#full_messages_for [ci skip]
Add a working example of how to use this new method.
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r--activemodel/lib/active_model/errors.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index 485eb1a40a..b60458b3c6 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -12,7 +12,6 @@ module ActiveModel
# A minimal implementation could be:
#
# class Person
- #
# # Required dependency for ActiveModel::Errors
# extend ActiveModel::Naming
#
@@ -40,7 +39,6 @@ module ActiveModel
# def Person.lookup_ancestors
# [self]
# end
- #
# end
#
# The last three methods are required in your object for Errors to be