diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2008-11-19 22:18:24 +1030 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2008-11-19 22:18:24 +1030 |
commit | 70a983a6a75d203ae5fdfbdec9c68d33fd79a766 (patch) | |
tree | ab49987a10732e669c2ed30d233e47ae19d9d8f5 /activemodel | |
parent | 9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b (diff) | |
parent | c6e5ffbc5c5df14111d8925c82f143da73f6271b (diff) | |
download | rails-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.rb | 2 |
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 |