Suppressing the authenticity_token div in form_for output

Is there any way to suppress the generation of the authenticity_token
div by passing an option to form for?

I’m generating a form that I will allow others to use outside of the
current session.

I’ve already put in the appropriate skip_before_filter
:verify_authenticity_token in the controller for the form target. But I
don’t even want to generate the token, so that I don’t have to take it
out of the HTML “by hand” after I run form_for.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs