search for: num_houses

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

Did you mean: num_hosts
2006 Jan 23
2
Problems with error_messages_for
...be able to add/delete/update Streets for a particular Area, but all on one page rather than having a separate view for editing a Street. I''ve managed to get a form displayed with a row for each Street 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...