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



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

def column_names
  attribute_names
end

#transactionObject



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

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