Sha256: 9862842b9c757d53d9588b80c57c7a19687417cc6aada7f647f084ef83bf5c41

Contents?: true

Size: 229 Bytes

Versions: 16

Compression:

Stored size: 229 Bytes

Contents

ActiveSupport.on_load(:active_model_serializers) do
  # Disable for all serializers (except ArraySerializer)
  ActiveModel::Serializer.root = false

  # Disable for ArraySerializer
  ActiveModel::ArraySerializer.root = false
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aleph_analytics-0.4.9.pre.dev config/initializers/active_model_serializer.rb
aleph_analytics-0.4.8 config/initializers/active_model_serializer.rb
aleph_analytics-0.4.7 config/initializers/active_model_serializer.rb
aleph_analytics-0.4.4 config/initializers/active_model_serializer.rb
aleph_analytics-0.4.2 config/initializers/active_model_serializer.rb
aleph_analytics-0.4.1 config/initializers/active_model_serializer.rb
aleph_analytics-0.3.0 config/initializers/active_model_serializer.rb
aleph_analytics-0.2.0 config/initializers/active_model_serializer.rb
aleph_analytics-0.1.0 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.6 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.5 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.4 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.3 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.2 config/initializers/active_model_serializer.rb
aleph_analytics-0.0.1.alpha config/initializers/active_model_serializer.rb
aleph_analytics-0.0.0.alpha config/initializers/active_model_serializer.rb