Being that you've got nested resources the form is looking for the @user info too, define the user in your address controller actions too and then pass it into your form like so: ([@user, @address]). That should get you on the right path. Try a Google of 'rails form_for nested resources' and see what you discover, happy exploring!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/209dea19-0c1d-4d19-90a2-eb515799c135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.