Ruby on Rails Saturday, February 4, 2017

On Sat, Feb 4, 2017 at 12:13 AM, Greg Navis <> wrote:
> button_to generates a form with a button. I'm not sure there's a way to add
> custom hidden fields to the form. One way around the problem would be to

One way around the "problem" would be to read the documentation
for that method, which includes under "options"

:params - Hash of parameters to be rendered as hidden fields within the form.

Hassan Schroeder ------------------------
twitter: @hassan
Consulting Availability : Silicon Valley or remote

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