edge badge

Active Record Serialization

Methods
S
Included Modules
Instance Public methods
serializable_hash(options = nil)
# File activerecord/lib/active_record/serialization.rb, line 11
def serializable_hash(options = nil)
  options = options.try(:clone) || {}

  options[:except] = Array(options[:except]).map(&:to_s)
  options[:except] |= Array(self.class.inheritance_column)

  super(options)
end