instance method
say_no_to_protect_against_forgery!
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v6.0.6 PrivateSignature
say_no_to_protect_against_forgery!()
No documentation comment.
Source
# File actionpack/lib/action_view/test_case.rb, line 136
def say_no_to_protect_against_forgery!
_helpers.module_eval do
remove_possible_method :protect_against_forgery?
def protect_against_forgery?
false
end
end
end
Defined in actionpack/lib/action_view/test_case.rb line 136
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::TestCase::Behavior