You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i change ActiveModelSerializers.config.adapter to json_api from :attributes it gives error undefined method `read_attribute_for_serialization' for #ActiveModel::Serializer::CollectionSerializer
works fine if ActiveModelSerializers.config.adapter is set to attributes
tried adding serializer and each_serializer
using 10.10 version
The text was updated successfully, but these errors were encountered:
You'll need to provide a stack trace to have a hope debugging this.
Given that the adapter config is a first-class thing, it's likely the issue is somewhere in your usage of it. So, we need to know more about your usage.
when i change ActiveModelSerializers.config.adapter to json_api from :attributes it gives error undefined method `read_attribute_for_serialization' for #ActiveModel::Serializer::CollectionSerializer
works fine if ActiveModelSerializers.config.adapter is set to attributes
tried adding serializer and each_serializer
using 10.10 version
The text was updated successfully, but these errors were encountered: