module DirtyAttributes::InstanceMethods
Public Class Methods
new(record)
click to toggle source
# File lib/betty_resource/model/record.rb, line 3 def initialize(record) @attributes = DirtyHashy.new({}, true, self.class.attributes, record).tap do |hashy| dirty_map! hashy clean_up! end end