aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2008-11-19 22:18:24 +1030
committerRyan Bigg <radarlistener@gmail.com>2008-11-19 22:18:24 +1030
commit70a983a6a75d203ae5fdfbdec9c68d33fd79a766 (patch)
treeab49987a10732e669c2ed30d233e47ae19d9d8f5 /activemodel
parent9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b (diff)
parentc6e5ffbc5c5df14111d8925c82f143da73f6271b (diff)
downloadrails-70a983a6a75d203ae5fdfbdec9c68d33fd79a766.tar.gz
rails-70a983a6a75d203ae5fdfbdec9c68d33fd79a766.tar.bz2
rails-70a983a6a75d203ae5fdfbdec9c68d33fd79a766.zip
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/errors.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index a99bb001e4..bcf0810290 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -24,6 +24,8 @@ module ActiveModel
:even => "must be even"
}
+ ##
+ # :singleton-method:
# Holds a hash with all the default error messages that can be replaced by your own copy or localizations.
cattr_accessor :default_error_messages