Module: FactoryBot::Strategy::ActiveModelDirtyBackport

Defined in:
lib/factory_bot/strategy/stub.rb

Instance Method Summary collapse

Instance Method Details

#clear_changes_informationObject


105
106
107
108
# File 'lib/factory_bot/strategy/stub.rb', line 105

def clear_changes_information
  @previously_changed = ActiveSupport::HashWithIndifferentAccess.new
  @changed_attributes = ActiveSupport::HashWithIndifferentAccess.new
end