Sha256: 8e9fb8a0a119f2965afa2ce61677825a65cb2408a387e666295e4ef5a94f95d7

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 Bytes

Contents

require 'active_model/serializer/collection_serializer'
class ActiveModel::Serializer
  class ArraySerializer < CollectionSerializer
    def initialize(*)
      warn "Calling deprecated ArraySerializer in #{caller[0..2].join(', ')}. Please use CollectionSerializer"
      super
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_model_serializers-0.10.0.rc4 lib/active_model/serializer/array_serializer.rb