Ruby on Rails Monday, July 3, 2017

I'm using nested resources so when validation fails should I render "/users/schools/new" or redirect to request.referrer I have to pass the param current_user.id to match a request url /users/:id/schools/new How to?

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/adb51a51-ce4b-4f2f-bb2a-5a3e607386f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment