Ruby on rails Interpolation issue

Posted by nobrains on Stack Overflow See other posts from Stack Overflow or by nobrains
Published on 2011-01-01T14:33:32Z Indexed on 2011/01/01 19:53 UTC
Read the original article Hit count: 285

Am pretty new to ROR. Need help in Rails form validation.
Am using rails 2.3.5
I have a basic validates_presence_of for the fields in the form.
Now when i don't enter field details, i do get an error, but the error is displayed as:

{{count}} errors prohibited this {{model}} from being saved  
There were problems with the following fields:  
{{attribute}} {{message}}  
{{attribute}} {{message}}

Any help will be highly appreciated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about validation