Ask A Question


You’re not receiving notifications from this thread.

Attempting to generate a URL from non-sanitized Rails 5 upgrade

Francisco Quinones asked in Rails

Hi so Im upgrading my rails 4 app to rails 5.
I have a link with foo _path(params.merge(format: "pdf")) Im getting the non-sanitized error.
Im looking for the correct way of permiting the this params.
Thank you.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.