Class: ActiveRecord::NullMutationTracker

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#any_changes?Boolean

Returns:

  • (Boolean)

95
96
97
# File 'lib/active_record/attribute_mutation_tracker.rb', line 95

def any_changes?(*)
  false
end

#change_to_attribute(attr_name) ⇒ Object


92
93
# File 'lib/active_record/attribute_mutation_tracker.rb', line 92

def change_to_attribute(attr_name)
end

#changed?Boolean

Returns:

  • (Boolean)

99
100
101
# File 'lib/active_record/attribute_mutation_tracker.rb', line 99

def changed?(*)
  false
end

#changed_in_place?Boolean

Returns:

  • (Boolean)

103
104
105
# File 'lib/active_record/attribute_mutation_tracker.rb', line 103

def changed_in_place?(*)
  false
end

#changed_valuesObject


84
85
86
# File 'lib/active_record/attribute_mutation_tracker.rb', line 84

def changed_values(*)
  {}
end

#changesObject


88
89
90
# File 'lib/active_record/attribute_mutation_tracker.rb', line 88

def changes(*)
  {}
end

#forget_changeObject


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

def forget_change(*)
end

#original_valueObject


110
111
# File 'lib/active_record/attribute_mutation_tracker.rb', line 110

def original_value(*)
end