Sha256: a1188fc0084f741e8b2599cd7e3fc6353d12086fc2e570aa59caf0539726f5d2
Contents?: true
Size: 481 Bytes
Versions: 138
Compression:
Stored size: 481 Bytes
Contents
module ActiveRecord #:nodoc: # = Active Record Serialization module Serialization extend ActiveSupport::Concern include ActiveModel::Serializers::JSON def serializable_hash(options = nil) options = options.try(:clone) || {} options[:except] = Array.wrap(options[:except]).map { |n| n.to_s } options[:except] |= Array.wrap(self.class.inheritance_column) super(options) end end end require 'active_record/serializers/xml_serializer'
Version data entries
138 entries across 107 versions & 14 rubygems