Sha256: 65a1f87c5d80b06180ff8ff45b69a80cb2986d0d6b08c783c38e808c10d942a7
Contents?: true
Size: 457 Bytes
Versions: 6
Compression:
Stored size: 457 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 #[Object, Array, FalseClass, Float, Hash, Integer, NilClass, String, TrueClass].each do |klass| # klass.class_eval do # def to_json(opts = {}) # MultiJson::use(:oj) # MultiJson::dump(self, opts) # end # end #end
Version data entries
6 entries across 6 versions & 1 rubygems