Sha256: 4a8661136c99291df2abeb9b6c58de540b0b51be0783dacdf6ab1fa779bd7e92
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module ActiveModel class Serializer module Configuration include ActiveSupport::Configurable extend ActiveSupport::Concern included do |base| base.config.array_serializer = ActiveModel::Serializer::ArraySerializer base.config.adapter = :json end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cm-active_model_serializers-0.10.0.rc1.1 | lib/active_model/serializer/configuration.rb |
active_model_serializers-0.10.0.rc1 | lib/active_model/serializer/configuration.rb |