diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/environment.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb index e576d6f7e..462eb4dc0 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -57,4 +57,10 @@ end # Mime::Type.register "text/richtext", :rtf # Mime::Type.register "application/x-mobile", :mobile +# Validation error messages +ActiveRecord::Errors.default_error_messages[:blank] = "must be filled in" + # Include your application configuration below + + + |