1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title >
7
+ Module: ActiveRecord
8
+
9
+ — Documentation by YARD 0.9.34
10
+
11
+ </ title >
12
+
13
+ < link rel ="stylesheet " href ="css/style.css " type ="text/css " />
14
+
15
+ < link rel ="stylesheet " href ="css/common.css " type ="text/css " />
16
+
17
+ < script type ="text/javascript ">
18
+ pathId = "ActiveRecord" ;
19
+ relpath = '' ;
20
+ </ script >
21
+
22
+
23
+ < script type ="text/javascript " charset ="utf-8 " src ="js/jquery.js "> </ script >
24
+
25
+ < script type ="text/javascript " charset ="utf-8 " src ="js/app.js "> </ script >
26
+
27
+
28
+ </ head >
29
+ < body >
30
+ < div class ="nav_wrap ">
31
+ < iframe id ="nav " src ="class_list.html?1 "> </ iframe >
32
+ < div id ="resizer "> </ div >
33
+ </ div >
34
+
35
+ < div id ="main " tabindex ="-1 ">
36
+ < div id ="header ">
37
+ < div id ="menu ">
38
+
39
+ < a href ="_index.html "> Index (A)</ a > »
40
+
41
+
42
+ < span class ="title "> ActiveRecord</ span >
43
+
44
+ </ div >
45
+
46
+ < div id ="search ">
47
+
48
+ < a class ="full_list_link " id ="class_list_link "
49
+ href ="class_list.html ">
50
+
51
+ < svg width ="24 " height ="24 ">
52
+ < rect x ="0 " y ="4 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
53
+ < rect x ="0 " y ="12 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
54
+ < rect x ="0 " y ="20 " width ="24 " height ="4 " rx ="1 " ry ="1 "> </ rect >
55
+ </ svg >
56
+ </ a >
57
+
58
+ </ div >
59
+ < div class ="clear "> </ div >
60
+ </ div >
61
+
62
+ < div id ="content "> < h1 > Module: ActiveRecord
63
+
64
+
65
+
66
+ </ h1 >
67
+ < div class ="box_info ">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ < dl >
80
+ < dt > Defined in:</ dt >
81
+ < dd > lib/activerecord-multi-tenant/habtm.rb< span class ="defines "> ,< br />
82
+ lib/activerecord-multi-tenant/query_rewriter.rb,< br /> lib/activerecord-multi-tenant/migrations.rb,< br /> lib/activerecord-multi-tenant/migrations.rb</ span >
83
+ </ dd >
84
+ </ dl >
85
+
86
+ </ div >
87
+
88
+ < h2 > Overview</ h2 > < div class ="docstring ">
89
+ < div class ="discussion ">
90
+
91
+ < p > This module extension is a monkey patch to the ActiveRecord::Associations::ClassMethods module. It overrides the has_and_belongs_to_many method to add the tenant_id to the join table if the tenant_enabled option is set to true.</ p >
92
+
93
+
94
+ </ div >
95
+ </ div >
96
+ < div class ="tags ">
97
+
98
+
99
+ </ div > < h2 > Defined Under Namespace</ h2 >
100
+ < p class ="children ">
101
+
102
+
103
+ < strong class ="modules "> Modules:</ strong > < span class ='object_link '> < a href ="ActiveRecord/Associations.html " title ="ActiveRecord::Associations (module) "> Associations</ a > </ span > , < span class ='object_link '> < a href ="ActiveRecord/ConnectionAdapters.html " title ="ActiveRecord::ConnectionAdapters (module) "> ConnectionAdapters</ a > </ span > , < span class ='object_link '> < a href ="ActiveRecord/QueryMethods.html " title ="ActiveRecord::QueryMethods (module) "> QueryMethods</ a > </ span >
104
+
105
+
106
+
107
+ < strong class ="classes "> Classes:</ strong > < span class ='object_link '> < a href ="ActiveRecord/SchemaDumper.html " title ="ActiveRecord::SchemaDumper (class) "> SchemaDumper</ a > </ span >
108
+
109
+
110
+ </ p >
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+ </ div >
121
+
122
+ < div id ="footer ">
123
+ Generated on Sat May 27 10:16:23 2023 by
124
+ < a href ="https://yardoc.org " title ="Yay! A Ruby Documentation Tool " target ="_parent "> yard</ a >
125
+ 0.9.34 (ruby-3.2.2).
126
+ </ div >
127
+
128
+ </ div >
129
+ </ body >
130
+ </ html >
0 commit comments