Ruby on Rails Friday, February 24, 2017

my controller is user_posts_controller.rb
it's views are in /app/views/user/posts

when a form submission fails to save the object i wanna redirect back to the custom pathed form i came from but the controller code has render :new

how do i redirect to the calling path of new and pass parameters

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
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment