Module: FactoryBot::Strategy::ActiveModelDirtyBackport

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

Instance Method Summary collapse

Instance Method Details

#clear_changes_informationObject



100
101
102
103
# File 'lib/factory_bot/strategy/stub.rb', line 100

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