This project is archived and is in readonly mode.

#6228 ✓resolved

Added disable_authenticity_token option to form helper

Reported by 2kan | December 27th, 2010 @ 04:09 PM | in 3.1

I've added disable_authenticity_token option to the form helper. So now we can generate forms without authenticity_token tag.
It is useful when we generate forms for some external resources like payments and billings where names of fields are often restricted so forms with authenticity_token are not valid.

Now we can write:

form_for(@survey, :disable_authenticity_token => true)


form_tag('/', :disable_authenticity_token => true)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>