Rails List wrote:
> 
>> 
>> The   <%= error_messages_for 'quotation' %> is always replaced by empty
>> space in html as 'quotation' at that time is nil.
>> 
>> Any idea how to make it work without setting 'quotation' variable in
>> the controller?
>> 
>> thanks,
>> bogumbiker
> 

Try this
<%= error_messages_for "quotation", :object_name => "quotation" %>

After the remote_form_for tag

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to