ActionController::RequestForgeryProtection::ProtectionMethods::Exception Ruby on Rails 5.1.2 Class ActionController::RequestForgeryProtection::ProtectionMethods::Exception < 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 190 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 194 def handle_unverified_request raise ActionController::InvalidAuthenticityToken end