Displaying 2 results from an estimated 2 matches for "code71".
Did you mean:
code1
2009 Nov 27
1
Nested model + error message
Hello Friend,
I want to override the default error message, but some how I am not able to
implement it.
The scenario is
I have a user table and user detail table I have implement nested model.
And the below mention message is appearing and instead of that I want
something "User Name cannot be blank"
- *User detail given name can''t be blank*
Thanks
Abhis
--
You
2009 Nov 26
9
ActionView::TemplateError (can't convert ActiveRecord::Error into String)
I cannot work out why this error is appearing.
ActionView::TemplateError (can''t convert ActiveRecord::Error into
String) on line #3 of app/views/button/_show_enquiry.html.erb:
1: <h1>Send us a message</h1>
2: <% remote_form_for :enquiry, :url => {:action => ''send_mail''} do |
f| %>
3: <%= error_messages_for ''enquiry'',