Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record_stub.rb

Class Method Summary collapse

Class Method Details

.connected?Boolean

dependency in actionpack/lib/action_controller/benchmarking.rb

Returns:

  • (Boolean)


14
15
16
# File 'lib/active_record_stub.rb', line 14

def self.connected?
  false
end

.connectionObject

dependency in actionpack/lib/action_controller/benchmarking.rb



19
20
21
# File 'lib/active_record_stub.rb', line 19

def self.connection
  return ConnectionStub
end

.reset_column_information_and_inheritable_attributes_for_all_subclassesObject

dependency in railties/lib/dispatcher.rb



9
10
11
# File 'lib/active_record_stub.rb', line 9

def self.reset_column_information_and_inheritable_attributes_for_all_subclasses
   # noop
end