can you try

protect_from_forgery :except => [ :create, :other_task ]



On May 5, 1:14 pm, Fernando Perez <rails-mailing-l...@andreas-s.net>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to