Updating the code formatting for better viewing.
Folks,
I have been looking at this for sometime but I don\'t understand what could be messing up here. I am usin
Have a look here and learn :)
http://railscasts.com/episodes/26-hackers-love-mass-assignment
Edit:
Having accepts_nested_attributes_forin User model enables you to send the data to the Address model.
accepts_nested_attributes_for
Then, in the Address model, you have to set the requested attr_accessible
attr_accessible