Class: ActiveRecord::NullMutationTracker

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
activerecord/lib/active_record/attribute_mutation_tracker.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)

59
60
61
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 59

def changed?(*)
  false
end

#changed_in_place?Boolean

Returns:

  • (Boolean)

63
64
65
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 63

def changed_in_place?(*)
  false
end

#changed_valuesObject


51
52
53
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 51

def changed_values
  {}
end

#changesObject


55
56
57
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 55

def changes
  {}
end

#forget_changeObject


67
68
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 67

def forget_change(*)
end