instance method
say_no_to_protect_against_forgery!
Ruby on Rails 6.0.6
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 171
def say_no_to_protect_against_forgery!
_helpers.module_eval do
silence_redefinition_of_method :protect_against_forgery?
def protect_against_forgery?
false
end
end
end
Defined in actionview/lib/action_view/test_case.rb line 171
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::TestCase::Behavior