aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-04 19:56:40 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-04 20:12:25 +0530
commit82aedbb96d2d6326a2700413ef16890499e11014 (patch)
tree12b2a3ad8c297aeac8854d21596dbe1c44e525ff /activemodel/lib
parent2eac4e2e2ff3a740c71268bfb78ebf0b72efc48d (diff)
downloadrails-82aedbb96d2d6326a2700413ef16890499e11014.tar.gz
rails-82aedbb96d2d6326a2700413ef16890499e11014.tar.bz2
rails-82aedbb96d2d6326a2700413ef16890499e11014.zip
fix incorrect output
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index 0e2a2fd5e2..71ece15b71 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -248,7 +248,7 @@ module ActiveModel
#
# company = Company.create(:address => '123 First St.')
# company.errors.full_messages # =>
- # ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Address can't be blank"]
+ # ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"]
def full_messages
map { |attribute, message|
if attribute == :base