Richard Sandilands
2006-Aug-10 04:21 UTC
[Rails] Consolidating error_messages_for for multiple objects
Hi there I have a form that saves a user and an address, which are seperate objects. A user has_many addresses. How to display error messages for the adddress object which gets saved via the same html form? I''m getting all my validation errors for the user object, but no detailed messages for the address object despite putting error_messages_for :address in my view.