diff options
-rw-r--r-- | config/environment.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/environment.rb b/config/environment.rb index fb9c31b60..f3a1b1668 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -79,8 +79,6 @@ 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" # Monkeypatch! Use SPAN instead of DIV. See http://dev.rubyonrails.org/ticket/2210 ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| %(<span class="fieldWithErrors">#{html_tag}</span>)} |