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

#any_changes?Boolean



93
94
95
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 93

def any_changes?(*)
  false
end

#change_to_attribute(attr_name) ⇒ Object



90
91
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 90

def change_to_attribute(attr_name)
end

#changed?Boolean



97
98
99
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 97

def changed?(*)
  false
end

#changed_in_place?Boolean



101
102
103
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 101

def changed_in_place?(*)
  false
end

#changed_valuesObject



82
83
84
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 82

def changed_values(*)
  {}
end

#changesObject



86
87
88
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 86

def changes(*)
  {}
end

#forget_changeObject



105
106
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 105

def forget_change(*)
end

#original_valueObject



108
109
# File 'activerecord/lib/active_record/attribute_mutation_tracker.rb', line 108

def original_value(*)
end