Closed dcalixto closed 3 years ago
Hmm, I'm not able to reproduce on Rails 6.1. When I look at the source code, ActionController::Instrumentation
(which defines this method) is included into ActionController::API
even on older versions of Rails, so I'm really not sure why it's not defined.
I do generally need to improve tests for the ActionController::API
case, as I keep breaking the API-only integration 😞
@janko thank you very for your promptly reply! sorry my fault i forget that i'm using ActionController::Metal
so i had to
include ActionController::Instrumentation
include ActionController::RequestForgeryProtection
@janko thank you very much for this gem, but after setup a simple api, and tried to create a account with react in the logs shows