New Discussion

Notifications

You’re not receiving notifications from this thread.

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

0
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

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.