instance method
say_no_to_protect_against_forgery!
Ruby on Rails 4.2.9
Since v3.0.20 Last seen in v6.0.6 PrivateSignature
say_no_to_protect_against_forgery!()
No documentation comment.
Source
# File actionview/lib/action_view/test_case.rb, line 165
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 actionview/lib/action_view/test_case.rb line 165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::TestCase::Behavior