record_history 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +4 -0
- data/.rvmrc +1 -0
- data/.yardoc/checksums +4 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/.yardopts +7 -0
- data/Gemfile +4 -0
- data/LICENSE +0 -0
- data/README.md +0 -0
- data/Rakefile +5 -0
- data/doc/CreateRecordHistories.html +249 -0
- data/doc/RecordHistory.html +122 -0
- data/doc/RecordHistory/InstallGenerator.html +192 -0
- data/doc/_index.html +137 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.LICENSE.html +66 -0
- data/doc/file.README.html +66 -0
- data/doc/file_list.html +52 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +66 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +70 -0
- data/doc/top-level-namespace.html +107 -0
- data/lib/generators/record_history/install_generator.rb +18 -0
- data/lib/generators/record_history/templates/create_record_histories.rb +19 -0
- data/lib/record_history.rb +5 -0
- data/lib/record_history/version.rb +3 -0
- data/record_history.gemspec +26 -0
- metadata +101 -0
data/.gitignore
ADDED
data/.rvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
rvm use ruby-1.9.3-p0@record_history --create
|
data/.yardoc/checksums
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
lib/record_history.rb 9e9f54bec98f9af93f7705af3030af09197169a9
|
|
2
|
+
lib/record_history/version.rb 7d6308d8b42ce82874c565499ca49b93332888df
|
|
3
|
+
lib/generators/record_history/install_generator.rb c6b047fa8ee8c9d27fb9b89fca0e59f4703df978
|
|
4
|
+
lib/generators/record_history/templates/create_record_histories.rb 55a6577f127614215f0d3155ff86f394d689d32b
|
|
Binary file
|
data/.yardoc/proxy_types
ADDED
|
Binary file
|
data/.yardopts
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
|
File without changes
|
data/README.md
ADDED
|
File without changes
|
data/Rakefile
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: CreateRecordHistories
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.7.5
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
relpath = '';
|
|
19
|
+
if (relpath != '') relpath += '/';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<div id="header">
|
|
34
|
+
<div id="menu">
|
|
35
|
+
|
|
36
|
+
<a href="_index.html">Index (C)</a> »
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<span class="title">CreateRecordHistories</span>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div id="search">
|
|
46
|
+
|
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
|
48
|
+
|
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
|
50
|
+
|
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<div class="clear"></div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<iframe id="search_frame"></iframe>
|
|
58
|
+
|
|
59
|
+
<div id="content"><h1>Class: CreateRecordHistories
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</h1>
|
|
64
|
+
|
|
65
|
+
<dl class="box">
|
|
66
|
+
|
|
67
|
+
<dt class="r1">Inherits:</dt>
|
|
68
|
+
<dd class="r1">
|
|
69
|
+
<span class="inheritName">ActiveRecord::Migration</span>
|
|
70
|
+
|
|
71
|
+
<ul class="fullTree">
|
|
72
|
+
<li>Object</li>
|
|
73
|
+
|
|
74
|
+
<li class="next">ActiveRecord::Migration</li>
|
|
75
|
+
|
|
76
|
+
<li class="next">CreateRecordHistories</li>
|
|
77
|
+
|
|
78
|
+
</ul>
|
|
79
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
80
|
+
|
|
81
|
+
</dd>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
<dt class="r2 last">Defined in:</dt>
|
|
92
|
+
<dd class="r2 last">lib/generators/record_history/templates/create_record_histories.rb</dd>
|
|
93
|
+
|
|
94
|
+
</dl>
|
|
95
|
+
<div class="clear"></div>
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<h2>
|
|
106
|
+
Class Method Summary
|
|
107
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
108
|
+
</h2>
|
|
109
|
+
|
|
110
|
+
<ul class="summary">
|
|
111
|
+
|
|
112
|
+
<li class="public ">
|
|
113
|
+
<span class="summary_signature">
|
|
114
|
+
|
|
115
|
+
<a href="#down-class_method" title="down (class method)">+ (Object) <strong>down</strong> </a>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</span>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
129
|
+
|
|
130
|
+
</li>
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
<li class="public ">
|
|
134
|
+
<span class="summary_signature">
|
|
135
|
+
|
|
136
|
+
<a href="#up-class_method" title="up (class method)">+ (Object) <strong>up</strong> </a>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
</span>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
150
|
+
|
|
151
|
+
</li>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
</ul>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<div id="class_method_details" class="method_details_list">
|
|
161
|
+
<h2>Class Method Details</h2>
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
<div class="method_details first">
|
|
165
|
+
<p class="signature first" id="down-class_method">
|
|
166
|
+
|
|
167
|
+
+ (<tt>Object</tt>) <strong>down</strong>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
</p><table class="source_code">
|
|
172
|
+
<tr>
|
|
173
|
+
<td>
|
|
174
|
+
<pre class="lines">
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
14
|
|
178
|
+
15
|
|
179
|
+
16
|
|
180
|
+
17</pre>
|
|
181
|
+
</td>
|
|
182
|
+
<td>
|
|
183
|
+
<pre class="code"><span class="info file"># File 'lib/generators/record_history/templates/create_record_histories.rb', line 14</span>
|
|
184
|
+
|
|
185
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_down'>down</span>
|
|
186
|
+
<span class='id identifier rubyid_remove_index'>remove_index</span> <span class='symbol'>:versions</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='symbol'>:item_type</span><span class='comma'>,</span> <span class='symbol'>:item_id</span><span class='rbracket'>]</span>
|
|
187
|
+
<span class='id identifier rubyid_drop_table'>drop_table</span> <span class='symbol'>:versions</span>
|
|
188
|
+
<span class='kw'>end</span></pre>
|
|
189
|
+
</td>
|
|
190
|
+
</tr>
|
|
191
|
+
</table>
|
|
192
|
+
</div>
|
|
193
|
+
|
|
194
|
+
<div class="method_details ">
|
|
195
|
+
<p class="signature " id="up-class_method">
|
|
196
|
+
|
|
197
|
+
+ (<tt>Object</tt>) <strong>up</strong>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
</p><table class="source_code">
|
|
202
|
+
<tr>
|
|
203
|
+
<td>
|
|
204
|
+
<pre class="lines">
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
2
|
|
208
|
+
3
|
|
209
|
+
4
|
|
210
|
+
5
|
|
211
|
+
6
|
|
212
|
+
7
|
|
213
|
+
8
|
|
214
|
+
9
|
|
215
|
+
10
|
|
216
|
+
11
|
|
217
|
+
12</pre>
|
|
218
|
+
</td>
|
|
219
|
+
<td>
|
|
220
|
+
<pre class="code"><span class="info file"># File 'lib/generators/record_history/templates/create_record_histories.rb', line 2</span>
|
|
221
|
+
|
|
222
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_up'>up</span>
|
|
223
|
+
<span class='id identifier rubyid_create_table'>create_table</span> <span class='symbol'>:record_histories</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_t'>t</span><span class='op'>|</span>
|
|
224
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span> <span class='symbol'>:target_type</span><span class='comma'>,</span> <span class='symbol'>:null</span> <span class='op'>=></span> <span class='kw'>false</span>
|
|
225
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span> <span class='symbol'>:target_id</span><span class='comma'>,</span> <span class='symbol'>:null</span> <span class='op'>=></span> <span class='kw'>false</span>
|
|
226
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_string'>string</span> <span class='symbol'>:attr_name</span><span class='comma'>,</span> <span class='symbol'>:null</span> <span class='op'>=></span> <span class='kw'>false</span>
|
|
227
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_integer'>integer</span> <span class='symbol'>:author_id</span>
|
|
228
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='symbol'>:object</span>
|
|
229
|
+
<span class='id identifier rubyid_t'>t</span><span class='period'>.</span><span class='id identifier rubyid_datetime'>datetime</span> <span class='symbol'>:created_at</span>
|
|
230
|
+
<span class='kw'>end</span>
|
|
231
|
+
<span class='id identifier rubyid_add_index'>add_index</span> <span class='symbol'>:versions</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='symbol'>:item_type</span><span class='comma'>,</span> <span class='symbol'>:item_id</span><span class='rbracket'>]</span>
|
|
232
|
+
<span class='kw'>end</span></pre>
|
|
233
|
+
</td>
|
|
234
|
+
</tr>
|
|
235
|
+
</table>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
</div>
|
|
239
|
+
|
|
240
|
+
</div>
|
|
241
|
+
|
|
242
|
+
<div id="footer">
|
|
243
|
+
Generated on Tue Feb 21 13:39:16 2012 by
|
|
244
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
245
|
+
0.7.5 (ruby-1.9.3).
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
</body>
|
|
249
|
+
</html>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Module: RecordHistory
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.7.5
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
relpath = '';
|
|
19
|
+
if (relpath != '') relpath += '/';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<div id="header">
|
|
34
|
+
<div id="menu">
|
|
35
|
+
|
|
36
|
+
<a href="_index.html">Index (R)</a> »
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<span class="title">RecordHistory</span>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div id="search">
|
|
46
|
+
|
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
|
48
|
+
|
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
|
50
|
+
|
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<div class="clear"></div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<iframe id="search_frame"></iframe>
|
|
58
|
+
|
|
59
|
+
<div id="content"><h1>Module: RecordHistory
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</h1>
|
|
64
|
+
|
|
65
|
+
<dl class="box">
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<dt class="r1 last">Defined in:</dt>
|
|
75
|
+
<dd class="r1 last">lib/record_history.rb<span class="defines">,<br />
|
|
76
|
+
lib/record_history/version.rb,<br /> lib/generators/record_history/install_generator.rb</span>
|
|
77
|
+
</dd>
|
|
78
|
+
|
|
79
|
+
</dl>
|
|
80
|
+
<div class="clear"></div>
|
|
81
|
+
|
|
82
|
+
<h2>Defined Under Namespace</h2>
|
|
83
|
+
<p class="children">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RecordHistory/InstallGenerator.html" title="RecordHistory::InstallGenerator (class)">InstallGenerator</a></span>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
<h2>Constant Summary</h2>
|
|
94
|
+
|
|
95
|
+
<dl class="constants">
|
|
96
|
+
|
|
97
|
+
<dt id="VERSION-constant" class="">VERSION =
|
|
98
|
+
|
|
99
|
+
</dt>
|
|
100
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.1</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
101
|
+
|
|
102
|
+
</dl>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
<div id="footer">
|
|
116
|
+
Generated on Tue Feb 21 13:39:15 2012 by
|
|
117
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
118
|
+
0.7.5 (ruby-1.9.3).
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
</body>
|
|
122
|
+
</html>
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: RecordHistory::InstallGenerator
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.7.5
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
relpath = '..';
|
|
19
|
+
if (relpath != '') relpath += '/';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<div id="header">
|
|
34
|
+
<div id="menu">
|
|
35
|
+
|
|
36
|
+
<a href="../_index.html">Index (I)</a> »
|
|
37
|
+
<span class='title'><span class='object_link'><a href="../RecordHistory.html" title="RecordHistory (module)">RecordHistory</a></span></span>
|
|
38
|
+
»
|
|
39
|
+
<span class="title">InstallGenerator</span>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div id="search">
|
|
46
|
+
|
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
|
48
|
+
|
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
|
50
|
+
|
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<div class="clear"></div>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<iframe id="search_frame"></iframe>
|
|
58
|
+
|
|
59
|
+
<div id="content"><h1>Class: RecordHistory::InstallGenerator
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</h1>
|
|
64
|
+
|
|
65
|
+
<dl class="box">
|
|
66
|
+
|
|
67
|
+
<dt class="r1">Inherits:</dt>
|
|
68
|
+
<dd class="r1">
|
|
69
|
+
<span class="inheritName">Rails::Generators::Base</span>
|
|
70
|
+
|
|
71
|
+
<ul class="fullTree">
|
|
72
|
+
<li>Object</li>
|
|
73
|
+
|
|
74
|
+
<li class="next">Rails::Generators::Base</li>
|
|
75
|
+
|
|
76
|
+
<li class="next">RecordHistory::InstallGenerator</li>
|
|
77
|
+
|
|
78
|
+
</ul>
|
|
79
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
80
|
+
|
|
81
|
+
</dd>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
<dt class="r2">Extended by:</dt>
|
|
87
|
+
<dd class="r2">ActiveRecord::Generators::Migration</dd>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
<dt class="r1">Includes:</dt>
|
|
93
|
+
<dd class="r1">Rails::Generators::Migration</dd>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<dt class="r2 last">Defined in:</dt>
|
|
100
|
+
<dd class="r2 last">lib/generators/record_history/install_generator.rb</dd>
|
|
101
|
+
|
|
102
|
+
</dl>
|
|
103
|
+
<div class="clear"></div>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<h2>
|
|
114
|
+
Instance Method Summary
|
|
115
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
116
|
+
</h2>
|
|
117
|
+
|
|
118
|
+
<ul class="summary">
|
|
119
|
+
|
|
120
|
+
<li class="public ">
|
|
121
|
+
<span class="summary_signature">
|
|
122
|
+
|
|
123
|
+
<a href="#create_migration_file-instance_method" title="#create_migration_file (instance method)">- (Object) <strong>create_migration_file</strong> </a>
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
</span>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
137
|
+
|
|
138
|
+
</li>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</ul>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<div id="instance_method_details" class="method_details_list">
|
|
150
|
+
<h2>Instance Method Details</h2>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<div class="method_details first">
|
|
154
|
+
<p class="signature first" id="create_migration_file-instance_method">
|
|
155
|
+
|
|
156
|
+
- (<tt>Object</tt>) <strong>create_migration_file</strong>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
</p><table class="source_code">
|
|
161
|
+
<tr>
|
|
162
|
+
<td>
|
|
163
|
+
<pre class="lines">
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
14
|
|
167
|
+
15
|
|
168
|
+
16</pre>
|
|
169
|
+
</td>
|
|
170
|
+
<td>
|
|
171
|
+
<pre class="code"><span class="info file"># File 'lib/generators/record_history/install_generator.rb', line 14</span>
|
|
172
|
+
|
|
173
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_migration_file'>create_migration_file</span>
|
|
174
|
+
<span class='id identifier rubyid_migration_template'>migration_template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>create_record_histories.rb</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>db/migrate/create_record_histories.rb</span><span class='tstring_end'>'</span></span>
|
|
175
|
+
<span class='kw'>end</span></pre>
|
|
176
|
+
</td>
|
|
177
|
+
</tr>
|
|
178
|
+
</table>
|
|
179
|
+
</div>
|
|
180
|
+
|
|
181
|
+
</div>
|
|
182
|
+
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div id="footer">
|
|
186
|
+
Generated on Tue Feb 21 13:39:16 2012 by
|
|
187
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
188
|
+
0.7.5 (ruby-1.9.3).
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
</body>
|
|
192
|
+
</html>
|