Sha256: 383394ca60bb3621ef94f6be8dfdec6650c83c086797628c3bed92eacab51a11
Contents?: true
Size: 390 Bytes
Versions: 8
Compression:
Stored size: 390 Bytes
Contents
module ActiveRecord module Dirty private def attribute_will_change!(attr) val = changed_attributes[attr] = clone_attribute_value(:read_attribute, attr) if Array === val && !(Array === @attributes[attr]) send(attr) unless @attributes_cache.has_key?(attr) @attributes[attr] = @attributes_cache[attr] end val end end end
Version data entries
8 entries across 8 versions & 2 rubygems