module Acfs::Resource::Dirty
Thin wrapper around ActiveModel::Dirty
Public Instance Methods
Source
# File lib/acfs/resource/dirty.rb, line 25 def loaded! reset_changes super end
@api private
Calls superclass method
Source
# File lib/acfs/resource/dirty.rb, line 13 def reset_changes clear_changes_information end
@api private
Source
# File lib/acfs/resource/dirty.rb, line 19 def save!(**kwargs) super.tap {|_| changes_applied } end
@api private
Calls superclass method
Source
# File lib/acfs/resource/dirty.rb, line 32 def write_raw_attribute(name, value, opts = {}) attribute_will_change!(name) if opts[:change].nil? || opts[:change] super end
@api private
Calls superclass method