Unfortunately, the same result. I also tried:
Mandate.all.to_a
But still the same. While checking the github issues I came across an issue which looked a bit similar. Perhaps this helps:
Mandate.all.extend(Api::MandatesRepresenter).singleton_class.ancestors
# => [#<Class:#<Mandate::ActiveRecord_Relation:0x00000106983c10>>, Api::MandatesRepresenter, Representable::Hash::Collection, Representable, Representable::Hash, Mandate::ActiveRecord_Relation, ActiveRecord::Delegation::ClassSpecificRelation, ActiveRecord::Relation, ActiveRecord::FinderMethods, ActiveRecord::Calculations, ActiveRecord::SpawnMethods, ActiveRecord::QueryMethods, ActiveRecord::Batches, ActiveRecord::Explain, ActiveRecord::Delegation, Object, ActiveSupport::Dependencies::Loadable, PP::ObjectMixin, JSON::Ext::Generator::GeneratorMethods::Object, Kernel, BasicObject]
By the way, the "old api" is working as expected. Using "respond_with merchant.mandates.to_a, represent_items_with: MandateRepresenter" gives the expected result.