This has been asked before but I didn''t find an elegant solution. How do you display validations errors when you''re doing a remote_format_for (or in my case form_for with UJS) This is what I came up with in the partial but there was to be a more elegant solution also this displays the field names with underscores, the flash[:notice] way seems to display cleaned up business named <% @user.errors.each do |key,value| %> <%= key %> <%= value %> <% end -%> Thanks, GP -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---