Yuri, You may want to review protect_from_forgery: < http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html#method-i-protect_from_forgery >
On Tue, Feb 3, 2015 at 7:19 AM, Yuri Kanivetsky <[email protected]> wrote: > Can you try like this <%= form_for(@task, remote: true, >> authenticity_token: true, html: {'data-type' => 'html'}) do |f| %> >> > > Yep, that pretty much settles it. > > Regards, > Yuri > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/5fdcf62c-8c72-4498-9393-47f6a1d8e25e%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/5fdcf62c-8c72-4498-9393-47f6a1d8e25e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHUC_t8xJ53oO_8YjAk2McBowP7uP1PEgp13egm4CXp0CfCS4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

