Class: ActiveMocker::ActiveRecord::Base
Class Method Summary
collapse
Methods included from Scope
scope
belongs_to, collections, has_and_belongs_to_many, has_many, has_one, included, relationships, single_relationships
method_missing
extend, include
Class Method Details
.const_missing(name) ⇒ Object
35
36
37
|
# File 'lib/active_mocker/active_record.rb', line 35
def self.const_missing(name)
end
|
.primary_key ⇒ Object
30
31
32
33
|
# File 'lib/active_mocker/active_record.rb', line 30
def self.primary_key
@primary_key ||= nil
@primary_key
end
|
.primary_key=(primary_key) ⇒ Object
26
27
28
|
# File 'lib/active_mocker/active_record.rb', line 26
def self.primary_key=(primary_key)
@primary_key = primary_key
end
|
.table_name ⇒ Object
21
22
23
24
|
# File 'lib/active_mocker/active_record.rb', line 21
def self.table_name
@table_name ||= nil
@table_name
end
|
.table_name=(table_name) ⇒ Object
17
18
19
|
# File 'lib/active_mocker/active_record.rb', line 17
def self.table_name=(table_name)
@table_name = table_name
end
|