Displaying 1 result from an estimated 1 matches for "savedaddr".
Did you mean:
save_addr
2006 Apr 07
1
Validate_presence_of error in nested object is not displayed
...aved and there is no message
allerting me that the addres is mandatory . The line logger.debug
@contact.address.errors shows me that accualy there is an error while
saving but it''s not displayed .
What I have tried to do is to save the contact then save the address
@saved = @contact.save
@savedAddr = @address.save
If I do this the error message is displayed, but I''ve also noticed
that the save is happening in two transactions
Can anyone tell me how I can manage this ?
Thanx,
Ovidiu