ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession Ruby on Rails 5.1.2 Class ActionController::RequestForgeryProtection::ProtectionMethods::ResetSession < Object actionpack/lib/action_controller/metal/request_forgery_protection.rb Methods H handle_unverified_request N new Class Public methods new(controller) Link Source: show | on GitHub # File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 180 def initialize(controller) @controller = controller end Instance Public methods handle_unverified_request() Link Source: show | on GitHub # File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 184 def handle_unverified_request @controller.reset_session end