Wes Gamble
2010-Oct-23 20:42 UTC
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. Thanks, Wes -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.