Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[7668] part deux (forgot to add the railties love to the mix)

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 03f318718e460a553062a2bff4507c8c80725304 1 parent 5edc81d
@technoweenie technoweenie authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  railties/environments/test.rb
3  railties/environments/test.rb
@@ -13,6 +13,9 @@
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection = false
# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.

0 comments on commit 03f3187

Please sign in to comment.
Something went wrong with that request. Please try again.