search for: messages_for

Displaying 1 result from an estimated 1 matches for "messages_for".

2006 Jan 23
2
Problems with error_messages_for
...reet already assigned to the Area by using form fields with street[id][name], street[id][num_houses] etc. But when I send the form I don''t know how to get any validation errors reported. Errors on Area are nicely displayed with the red outlines - I think this is thanks to <%= error_messages_for ''area'' %> being included in the view. Can I get this to work for the multiple Street input fields as well? I''ve tried <%= error_messages_for ''street'' %> (You have a nil object when you didn''t expect it! You might have expected an in...