Something like this?
Running into lot of issues, so was wondering. For example I am getting ERROR! NameError: uninitialized constant ActiveModel::ArraySerializer and cant seem to find the fix.
@kapso did you find one?
I'll keep some notes for a guide here (0.8 to 0.10):
json:# in config/initializers/active_model_serializer.rb
ActiveModelSerializers.config.adapter = :json
respond_with calls, add full depth includes# in app/controllers/api/*.rb
@collection = Collection.where ...
respond_with @collection, include: "**"
@toobulkeh Thanks for keeping your notes here. I thought I remembered someone writing up their 0.9 -> 0.10 changes, but didn't want to make a guide because thought they were too idiosyncratic... didn't find it with the upgrade label...
Most helpful comment
Found it https://github.com/rails-api/active_model_serializers/issues/1864#issuecomment-238826170 https://gist.github.com/bf4/20daea04c2f15c91ab44f9ffe1b7ada7