ActiveModel::Serializer not being called when rendering json?
I had a similar problem on Rails3 and I had to add this line into the app initializer folder
ActionController::API.send(:include, ActionController::Serialization)
Check if you have to do something similar with yours like
ActionController:: Metal.send(:include, ActionController::Serialization)
include ActionController::Serialization
in ApplicationController