diff options
-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 a04db331b..8465b0716 100644 --- a/app/models/about_me_validator.rb +++ b/app/models/about_me_validator.rb @@ -10,7 +10,7 @@ class AboutMeValidator attr_accessor :about_me - validates_length_of :about_me, maximum: 500, message: _("Please keep it shorter than 500 characters") + validates_length_of :about_me, :maximum => 500, :message => _("Please keep it shorter than 500 characters") def initialize(attributes = {}) attributes.each do |name, value| |