Module: ActiveMocker::DoNothingActiveRecordMethods::ClassMethods

Defined in:
lib/active_mocker/mock/do_nothing_active_record_methods.rb

Instance Method Summary collapse

Instance Method Details

#column_namesObject



18
19
20
# File 'lib/active_mocker/mock/do_nothing_active_record_methods.rb', line 18

def column_names
  attribute_names
end

#transactionObject



10
11
12
13
14
15
16
# File 'lib/active_mocker/mock/do_nothing_active_record_methods.rb', line 10

def transaction
  yield
rescue LocalJumpError => err
  raise err
rescue StandardError => e
  raise e
end