diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-08 10:50:04 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-08 10:50:04 +0000 |
commit | ca904ed8e62b29f0cb8da650559fd944a3b8913d (patch) | |
tree | 7a98e07ae736df853023fa5a03c82271ec226e8f /app/models | |
parent | 32fee563dae8d5e7cadbde5add4050acf5323c91 (diff) | |
parent | f40abcb4ccceb956a5a70e90c91d69c9cddc0ddd (diff) |
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/about_me_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/about_me_validator.rb b/app/models/about_me_validator.rb index ec2b03201..e24c5512c 100644 --- a/app/models/about_me_validator.rb +++ b/app/models/about_me_validator.rb @@ -21,7 +21,7 @@ class AboutMeValidator < ActiveRecord::BaseWithoutTable def validate if !self.about_me.blank? && self.about_me.size > 500 - errors.add(_("Please keep it shorter than 500 characters")) + errors.add(:about_me, _("Please keep it shorter than 500 characters")) end end |