search for: sekret_method

Displaying 2 results from an estimated 2 matches for "sekret_method".

2008 Mar 16
0
bypassing verify_authenticity_token before_filter when in facebook
...ryProtection module. ActionController::RequestForgeryProtection.module_eval do alias :original_verify_authenticity_token :verify_authenticity_token def verify_authenticity_token(*args) if controller.params.include?(''fb_sig'') && controller.action == ''sekret_method'' # Pretend to call this before_filter. true else original_verify_authenticity_token(*args) end end end I detailed the particulars for the how and why in a blog post incase any of you are interested: http://www.locusfoc.us/2008/3/16/if-you-can-t-beat-th...
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All, I''m trying to do a simple form_for (and I also get it with form_tag) and I''m getting the following error: ActionView::TemplateError (No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own keys (Cookie Session Store).) on line #2 of users/new.fbml.erb: 1: <h1>Welcome To Courses, Let''s Get