Active Model Serializers use the Rails json renderer, which expects the File instance to respond to as_ json , which optinally takes an options argument. Attachinary's FileMixin#as_json has a required argument, so end up with an ArgumentError 0 for 1
Active Model Serializers use the Rails json renderer, which expects the File instance to respond to as_ json , which optinally takes an options argument. Attachinary's FileMixin#as_json has a required argument, so end up with an ArgumentError 0 for 1