Module: ActiveRecord::Encryption::EncryptedFixtures

Defined in:
lib/active_record/encryption/encrypted_fixtures.rb

Instance Method Summary collapse

Instance Method Details

#initialize(fixture, model_class) ⇒ Object



6
7
8
9
10
11
# File 'lib/active_record/encryption/encrypted_fixtures.rb', line 6

def initialize(fixture, model_class)
  @clean_values = {}
  encrypt_fixture_data(fixture, model_class)
  process_preserved_original_columns(fixture, model_class)
  super
end