I know that the original problem was probably resolved. However, I had the same problem and finally I found the answer.
Since the rails-api version of the rails has been truncated, some functions are missing (in this case, implicit rendaring representations), and we need to explicitly add them.
The easiest solution is to add an ActionController :: ImplicitRender to the ApplicationController
# app/controllers/application_controller.rb class ApplicationController < ActionController::API include ActionController::ImplicitRender end
source share