Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typo

  • Loading branch information...
commit 6d4e3f3a0ad5ae51daea991843b08e7bde7d71da 1 parent 8771538
@Mik-die Mik-die authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/form_helpers.textile
2  railties/guides/source/form_helpers.textile
@@ -777,7 +777,7 @@ If you need to post some data to an external resource it is still great to build
Sometimes when you submit data to an external resource, like payment gateway, fields you can use in your form are limited by an external API. So you may want not to generate an +authenticity_token+ hidden field at all. For doing this just pass +false+ to the +:authenticity_token+ option:
-<%= form_tag 'http://farfar.away/form', :authenticity_token => 'external_token') do %>
+<%= form_tag 'http://farfar.away/form', :authenticity_token => false) do %>
Form contents
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.