[Rails] Re: Unable to deactivate forgery protection
> I'm assuming that the above is not a cut-and-paste from the app? > Because "verify" is misspelled. Magnificent catch! I would not have been able to spot it by myself! Thank you Freddy and C.R.O. for your time :) -- 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Unable to deactivate forgery protection
On May 5, 2009, at 2:14 PM, Fernando Perez wrote: > Although I have added: > skip_before_filter :verifiy_authenticity_token Fernando, I'm assuming that the above is not a cut-and-paste from the app? Because "verify" is misspelled. --cro --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: Unable to deactivate forgery protection
can you try protect_from_forgery :except => [ :create, :other_task ] On May 5, 1:14 pm, Fernando Perez wrote: > Hi, > > I just created a new Rails app that will be receiving some POSTed data > from the outside so it must skip the verify_authenticity_token for some > create actions. Although I have added: > skip_before_filter :verifiy_authenticity_token > > I still get InvalidAuthenticityToken. In one of my other Rails app > (created back in Rails 1.2.6 and updated to 2.3.2 over time) this > skipping works perfectly though, has anything changed since? Do I need > to do anything more? > > Thanks. > -- > Posted viahttp://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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---