Ruby on Rails Monday, April 3, 2017
I'm using nested resources so addresses are resources nested under users When @address.save succeeds everything seems ok but when validations prevent it from saving I don't know how to render /users/addresses/new let alone render it with paramaters passed to it like address_params If I use--
render 'users/addresses/new' it looks for addresses/users/addresses/new if i prepend / it still starts at addresses
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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fe187b2b-d9a0-4fac-a298-5d721fe7cbfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Posted by Ruby on Rails at 11:02 AM