I’m wondering why Turbolinks::Redirection and Turbolinks::Controller are ancestors of ActionController::API. I suspect that is a bug. Is there any reason we can’t remove it?
I suspect this is because both ActionController::API and ActionController::Base call ActiveSupport.run_load_hooks(:action_controller, self) and gems (like turbolinks) are not checking to see which class they are injecting behavior into.
What are your thoughts?