##// END OF EJS Templates
Makes the app boot with Rails 2.2.2...
Jean-Philippe Lang -
r2225:2644141a3692
parent child
Show More
@@ -12,6 +12,6 ActiveRecord::Errors.default_error_messages = {
12 :wrong_length => "activerecord_error_wrong_length",
12 :wrong_length => "activerecord_error_wrong_length",
13 :taken => "activerecord_error_taken",
13 :taken => "activerecord_error_taken",
14 :not_a_number => "activerecord_error_not_a_number"
14 :not_a_number => "activerecord_error_not_a_number"
15 }
15 } if ActiveRecord::Errors.respond_to?('default_error_messages=')
16
16
17 ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" }
17 ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" }
General Comments 0
You need to be logged in to leave comments. Login now