Trevor Turk
2007-Dec-10 00:47 UTC
Tiny doc patch for a Rails 2.x gotcha for those upgrading existing apps
I ran into a small gotcha when trying to add protect_from_forgery to an existing Rails 1.x app, where you need to disable request forgery protection for the test environment. This is done by default for apps generated by Rails 2.0, but is not documented. I''d like to see this tiny doc patch added, to spare people this hiccup when moving to Rails 2.0. http://dev.rubyonrails.org/ticket/10440 Thanks, - Trevor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Jeremy Kemper
2007-Dec-10 01:30 UTC
Re: Tiny doc patch for a Rails 2.x gotcha for those upgrading existing apps
On 12/9/07, Trevor Turk <trevorturk@gmail.com> wrote:> I ran into a small gotcha when trying to add protect_from_forgery to > an existing Rails 1.x app, where you need to disable request forgery > protection for the test environment. This is done by default for apps > generated by Rails 2.0, but is not documented. > > I''d like to see this tiny doc patch added, to spare people this hiccup > when moving to Rails 2.0. > > http://dev.rubyonrails.org/ticket/10440Applied. Thanks Trevor! jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---