mack-active_record 0.6.1.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Mack/Database/Generators.html +140 -0
- data/doc/classes/Mack/Database/{Migrator.html → Migrations.html} +74 -39
- data/doc/classes/Mack/Database.html +158 -61
- data/doc/classes/Mack/Testing/ActiveRecordHelpers.html +168 -0
- data/doc/classes/Mack/ViewHelpers/ActiveRecordHelpers.html +52 -52
- data/doc/classes/Mack.html +8 -15
- data/doc/created.rid +1 -1
- data/doc/files/lib/mack-active_record/{genosaurus_helpers_rb.html → database_migrations_rb.html} +4 -4
- data/doc/files/lib/mack-active_record/database_rb.html +1 -11
- data/doc/files/lib/mack-active_record/{model_column_rb.html → generators_rb.html} +4 -4
- data/doc/files/lib/mack-active_record/helpers/orm_helpers_rb.html +1 -1
- data/doc/files/lib/mack-active_record/{scaffold_generator/scaffold_generator_rb.html → test_extensions_rb.html} +12 -17
- data/doc/files/lib/mack-active_record_rb.html +2 -1
- data/doc/files/lib/mack-active_record_tasks_rb.html +8 -1
- data/doc/fr_class_index.html +3 -5
- data/doc/fr_file_index.html +3 -3
- data/doc/fr_method_index.html +11 -14
- data/lib/mack-active_record/database.rb +81 -59
- data/lib/mack-active_record/database_migrations.rb +29 -0
- data/lib/mack-active_record/generators.rb +11 -0
- data/lib/mack-active_record/helpers/orm_helpers.rb +9 -12
- data/lib/mack-active_record/model_generator/manifest.yml +2 -2
- data/lib/mack-active_record/tasks/db_migration_tasks.rake +2 -15
- data/lib/mack-active_record/test_extensions.rb +101 -0
- data/lib/mack-active_record.rb +4 -3
- data/lib/mack-active_record_tasks.rb +1 -0
- metadata +22 -22
- data/doc/classes/Mack/Genosaurus/ActiveRecord/Helpers.html +0 -225
- data/doc/classes/Mack/Genosaurus/ActiveRecord/ModelColumn.html +0 -299
- data/doc/classes/Mack/ViewHelpers.html +0 -111
- data/doc/classes/ScaffoldGenerator.html +0 -123
- data/lib/mack-active_record/genosaurus_helpers.rb +0 -40
- data/lib/mack-active_record/model_column.rb +0 -55
- data/lib/mack-active_record/scaffold_generator/manifest.yml +0 -31
- data/lib/mack-active_record/scaffold_generator/scaffold_generator.rb +0 -42
- data/lib/mack-active_record/scaffold_generator/templates/app/views/edit.html.erb.template +0 -19
- data/lib/mack-active_record/scaffold_generator/templates/app/views/index.html.erb.template +0 -41
- data/lib/mack-active_record/scaffold_generator/templates/app/views/new.html.erb.template +0 -19
- data/lib/mack-active_record/scaffold_generator/templates/app/views/show.html.erb.template +0 -12
- data/lib/mack-active_record/scaffold_generator/templates/spec.rb.template +0 -47
- data/lib/mack-active_record/scaffold_generator/templates/test.rb.template +0 -9
- data/lib/mack-active_record/tasks/db_create_drop_tasks.rake +0 -52
@@ -100,7 +100,7 @@
|
|
100
100
|
<tr class="top-aligned-row context-row">
|
101
101
|
<td class="context-item-name">DEFAULT_PARTIAL</td>
|
102
102
|
<td>=</td>
|
103
|
-
<td class="context-item-value">%{ <div
|
103
|
+
<td class="context-item-value">%{ <div class="errorExplanation" id="errorExplanation"> <h2><%= pluralize_word(errors.size, "error") %> occured.</h2> <ul> <% for error in errors %> <li><%= error %></li> <% end %> </ul> </div>}.strip unless Mack::ViewHelpers::ActiveRecordHelpers.const_defined?("DEFAULT_PARTIAL")</td>
|
104
104
|
</tr>
|
105
105
|
</table>
|
106
106
|
</div>
|
@@ -129,57 +129,57 @@
|
|
129
129
|
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
130
130
|
<div class="method-source-code" id="M000001-source">
|
131
131
|
<pre>
|
132
|
-
<span class="ruby-comment cmt"># File lib/mack-active_record/helpers/orm_helpers.rb, line
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
132
|
+
<span class="ruby-comment cmt"># File lib/mack-active_record/helpers/orm_helpers.rb, line 20</span>
|
133
|
+
20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error_messages_for</span>(<span class="ruby-identifier">object_names</span> = [], <span class="ruby-identifier">view_partial</span> = <span class="ruby-keyword kw">nil</span>)
|
134
|
+
21: <span class="ruby-identifier">object_names</span> = [<span class="ruby-identifier">object_names</span>]
|
135
|
+
22: <span class="ruby-identifier">object_names</span>.<span class="ruby-identifier">flatten!</span>
|
136
|
+
23: <span class="ruby-identifier">app_errors</span> = []
|
137
|
+
24: <span class="ruby-identifier">object_names</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span><span class="ruby-operator">|</span>
|
138
|
+
25: <span class="ruby-identifier">object</span> = <span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-node">"@#{name}"</span>)
|
139
|
+
26: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object</span>
|
140
|
+
27: <span class="ruby-identifier">object</span>.<span class="ruby-identifier">errors</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
|
141
|
+
28: <span class="ruby-identifier">key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>
|
142
|
+
29: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
|
143
|
+
30: <span class="ruby-identifier">value</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
144
|
+
31: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp re">/^\^/</span>)
|
145
|
+
32: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">v</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">v</span>.<span class="ruby-identifier">length</span>]
|
146
|
+
33: <span class="ruby-keyword kw">else</span>
|
147
|
+
34: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-constant">String</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">key</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"base"</span>
|
148
|
+
35: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{v}"</span>
|
149
|
+
36: <span class="ruby-keyword kw">else</span>
|
150
|
+
37: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{object.business_display_name} #{key.underscore.split('_').join(' ')} #{v}"</span>
|
151
|
+
38: <span class="ruby-keyword kw">end</span>
|
152
|
+
39: <span class="ruby-keyword kw">end</span>
|
153
|
+
40: <span class="ruby-keyword kw">end</span>
|
154
|
+
41: <span class="ruby-keyword kw">else</span>
|
155
|
+
42: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp re">/^\^/</span>)
|
156
|
+
43: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">value</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-identifier">value</span>.<span class="ruby-identifier">length</span>]
|
157
|
+
44: <span class="ruby-keyword kw">else</span>
|
158
|
+
45: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">key</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-constant">String</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">key</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"base"</span>
|
159
|
+
46: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{value}"</span>
|
160
|
+
47: <span class="ruby-keyword kw">else</span>
|
161
|
+
48: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{object.business_display_name} #{key.underscore.split('_').join(' ')} #{value}"</span>
|
162
|
+
49: <span class="ruby-keyword kw">end</span>
|
163
|
+
50: <span class="ruby-keyword kw">end</span>
|
164
|
+
51: <span class="ruby-keyword kw">end</span>
|
165
|
+
52: <span class="ruby-keyword kw">end</span>
|
166
|
+
53: <span class="ruby-keyword kw">end</span>
|
167
|
+
54: <span class="ruby-keyword kw">end</span>
|
168
|
+
55: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">app_errors</span>.<span class="ruby-identifier">empty?</span>
|
169
|
+
56: <span class="ruby-identifier">app_errors</span>.<span class="ruby-identifier">uniq!</span>
|
170
|
+
57: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">view_partial</span>.<span class="ruby-identifier">nil?</span>
|
171
|
+
58: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">Mack</span>.<span class="ruby-identifier">root</span>, <span class="ruby-value str">"app"</span>, <span class="ruby-value str">"views"</span>, <span class="ruby-value str">"application"</span>, <span class="ruby-value str">"_error_messages.html.erb"</span>))
|
172
|
+
59: <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:partial</span>, <span class="ruby-value str">"application/error_messages"</span>, <span class="ruby-identifier">:locals</span> =<span class="ruby-operator">></span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">app_errors</span>})
|
173
|
+
60: <span class="ruby-keyword kw">else</span>
|
174
|
+
61: <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:inline</span>, <span class="ruby-constant">DEFAULT_PARTIAL</span>, <span class="ruby-identifier">:locals</span> =<span class="ruby-operator">></span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">app_errors</span>})
|
175
|
+
62: <span class="ruby-keyword kw">end</span>
|
176
|
+
63: <span class="ruby-keyword kw">else</span>
|
177
|
+
64: <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:partial</span>, <span class="ruby-identifier">view_partial</span>, <span class="ruby-identifier">:locals</span> =<span class="ruby-operator">></span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">app_errors</span>})
|
178
|
+
65: <span class="ruby-keyword kw">end</span>
|
179
|
+
66: <span class="ruby-keyword kw">else</span>
|
180
|
+
67: <span class="ruby-value str">""</span>
|
181
|
+
68: <span class="ruby-keyword kw">end</span>
|
182
|
+
69: <span class="ruby-keyword kw">end</span>
|
183
183
|
</pre>
|
184
184
|
</div>
|
185
185
|
</div>
|
data/doc/classes/Mack.html
CHANGED
@@ -59,16 +59,20 @@
|
|
59
59
|
lib/mack-active_record/database.rb
|
60
60
|
</a>
|
61
61
|
<br />
|
62
|
-
<a href="../files/lib/mack-active_record/
|
63
|
-
lib/mack-active_record/
|
62
|
+
<a href="../files/lib/mack-active_record/database_migrations_rb.html">
|
63
|
+
lib/mack-active_record/database_migrations.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../files/lib/mack-active_record/generators_rb.html">
|
67
|
+
lib/mack-active_record/generators.rb
|
64
68
|
</a>
|
65
69
|
<br />
|
66
70
|
<a href="../files/lib/mack-active_record/helpers/orm_helpers_rb.html">
|
67
71
|
lib/mack-active_record/helpers/orm_helpers.rb
|
68
72
|
</a>
|
69
73
|
<br />
|
70
|
-
<a href="../files/lib/mack-active_record/
|
71
|
-
lib/mack-active_record/
|
74
|
+
<a href="../files/lib/mack-active_record/test_extensions_rb.html">
|
75
|
+
lib/mack-active_record/test_extensions.rb
|
72
76
|
</a>
|
73
77
|
<br />
|
74
78
|
</td>
|
@@ -84,16 +88,6 @@
|
|
84
88
|
|
85
89
|
<div id="contextContent">
|
86
90
|
|
87
|
-
<div id="description">
|
88
|
-
<p>
|
89
|
-
AR db create/drop. Currently it supports 3 adapters: sqlite3, postgresql,
|
90
|
-
and mysql
|
91
|
-
</p>
|
92
|
-
<p>
|
93
|
-
ds - July 2008
|
94
|
-
</p>
|
95
|
-
|
96
|
-
</div>
|
97
91
|
|
98
92
|
|
99
93
|
</div>
|
@@ -110,7 +104,6 @@ ds - July 2008
|
|
110
104
|
<h3 class="section-bar">Classes and Modules</h3>
|
111
105
|
|
112
106
|
Module <a href="Mack/Database.html" class="link">Mack::Database</a><br />
|
113
|
-
Module <a href="Mack/ViewHelpers.html" class="link">Mack::ViewHelpers</a><br />
|
114
107
|
|
115
108
|
</div>
|
116
109
|
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Mon, 25 Aug 2008 11:24:18 -0400
|
data/doc/files/lib/mack-active_record/{genosaurus_helpers_rb.html → database_migrations_rb.html}
RENAMED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>File:
|
8
|
+
<title>File: database_migrations.rb</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
@@ -47,16 +47,16 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
<div id="fileHeader">
|
50
|
-
<h1>
|
50
|
+
<h1>database_migrations.rb</h1>
|
51
51
|
<table class="header-table">
|
52
52
|
<tr class="top-aligned-row">
|
53
53
|
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/mack-active_record/
|
54
|
+
<td>lib/mack-active_record/database_migrations.rb
|
55
55
|
</td>
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:26 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:26 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -68,16 +68,6 @@
|
|
68
68
|
|
69
69
|
<div id="contextContent">
|
70
70
|
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
AR db create/drop. Currently it supports 3 adapters: sqlite3, postgresql,
|
74
|
-
and mysql
|
75
|
-
</p>
|
76
|
-
<p>
|
77
|
-
ds - July 2008
|
78
|
-
</p>
|
79
|
-
|
80
|
-
</div>
|
81
71
|
|
82
72
|
|
83
73
|
</div>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>File:
|
8
|
+
<title>File: generators.rb</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
11
|
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
@@ -47,16 +47,16 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
<div id="fileHeader">
|
50
|
-
<h1>
|
50
|
+
<h1>generators.rb</h1>
|
51
51
|
<table class="header-table">
|
52
52
|
<tr class="top-aligned-row">
|
53
53
|
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/mack-active_record/
|
54
|
+
<td>lib/mack-active_record/generators.rb
|
55
55
|
</td>
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:26 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>File:
|
8
|
+
<title>File: test_extensions.rb</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
12
|
<script type="text/javascript">
|
13
13
|
// <![CDATA[
|
14
14
|
|
@@ -47,16 +47,16 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
<div id="fileHeader">
|
50
|
-
<h1>
|
50
|
+
<h1>test_extensions.rb</h1>
|
51
51
|
<table class="header-table">
|
52
52
|
<tr class="top-aligned-row">
|
53
53
|
<td><strong>Path:</strong></td>
|
54
|
-
<td>lib/mack-active_record/
|
54
|
+
<td>lib/mack-active_record/test_extensions.rb
|
55
55
|
</td>
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:27 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -68,20 +68,15 @@
|
|
68
68
|
|
69
69
|
<div id="contextContent">
|
70
70
|
|
71
|
-
<div id="description">
|
72
|
-
<p>
|
73
|
-
Generates scaffold for <a href="../../../../classes/Mack.html">Mack</a>
|
74
|
-
applications.
|
75
|
-
</p>
|
76
|
-
<p>
|
77
|
-
Example:
|
78
|
-
</p>
|
79
|
-
<pre>
|
80
|
-
rake generate:scaffold name=post
|
81
|
-
</pre>
|
82
71
|
|
83
|
-
|
72
|
+
<div id="requires-list">
|
73
|
+
<h3 class="section-bar">Required files</h3>
|
84
74
|
|
75
|
+
<div class="name-list">
|
76
|
+
test/unit
|
77
|
+
spec
|
78
|
+
</div>
|
79
|
+
</div>
|
85
80
|
|
86
81
|
</div>
|
87
82
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:26 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -75,6 +75,7 @@
|
|
75
75
|
<div class="name-list">
|
76
76
|
rubygems
|
77
77
|
genosaurus
|
78
|
+
mack-orm
|
78
79
|
activerecord
|
79
80
|
</div>
|
80
81
|
</div>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Mon Aug 25 10:11:27 -0400 2008</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -69,6 +69,13 @@
|
|
69
69
|
<div id="contextContent">
|
70
70
|
|
71
71
|
|
72
|
+
<div id="requires-list">
|
73
|
+
<h3 class="section-bar">Required files</h3>
|
74
|
+
|
75
|
+
<div class="name-list">
|
76
|
+
mack-orm_tasks
|
77
|
+
</div>
|
78
|
+
</div>
|
72
79
|
|
73
80
|
</div>
|
74
81
|
|
data/doc/fr_class_index.html
CHANGED
@@ -22,14 +22,12 @@
|
|
22
22
|
<div id="index-entries">
|
23
23
|
<a href="classes/Mack.html">Mack</a><br />
|
24
24
|
<a href="classes/Mack/Database.html">Mack::Database</a><br />
|
25
|
-
<a href="classes/Mack/Database/
|
26
|
-
<a href="classes/Mack/
|
27
|
-
<a href="classes/Mack/
|
28
|
-
<a href="classes/Mack/ViewHelpers.html">Mack::ViewHelpers</a><br />
|
25
|
+
<a href="classes/Mack/Database/Generators.html">Mack::Database::Generators</a><br />
|
26
|
+
<a href="classes/Mack/Database/Migrations.html">Mack::Database::Migrations</a><br />
|
27
|
+
<a href="classes/Mack/Testing/ActiveRecordHelpers.html">Mack::Testing::ActiveRecordHelpers</a><br />
|
29
28
|
<a href="classes/Mack/ViewHelpers/ActiveRecordHelpers.html">Mack::ViewHelpers::ActiveRecordHelpers</a><br />
|
30
29
|
<a href="classes/MigrationGenerator.html">MigrationGenerator</a><br />
|
31
30
|
<a href="classes/ModelGenerator.html">ModelGenerator</a><br />
|
32
|
-
<a href="classes/ScaffoldGenerator.html">ScaffoldGenerator</a><br />
|
33
31
|
</div>
|
34
32
|
</div>
|
35
33
|
</body>
|
data/doc/fr_file_index.html
CHANGED
@@ -23,12 +23,12 @@
|
|
23
23
|
<a href="files/README.html">README</a><br />
|
24
24
|
<a href="files/lib/mack-active_record_rb.html">lib/mack-active_record.rb</a><br />
|
25
25
|
<a href="files/lib/mack-active_record/database_rb.html">lib/mack-active_record/database.rb</a><br />
|
26
|
-
<a href="files/lib/mack-active_record/
|
26
|
+
<a href="files/lib/mack-active_record/database_migrations_rb.html">lib/mack-active_record/database_migrations.rb</a><br />
|
27
|
+
<a href="files/lib/mack-active_record/generators_rb.html">lib/mack-active_record/generators.rb</a><br />
|
27
28
|
<a href="files/lib/mack-active_record/helpers/orm_helpers_rb.html">lib/mack-active_record/helpers/orm_helpers.rb</a><br />
|
28
29
|
<a href="files/lib/mack-active_record/migration_generator/migration_generator_rb.html">lib/mack-active_record/migration_generator/migration_generator.rb</a><br />
|
29
|
-
<a href="files/lib/mack-active_record/model_column_rb.html">lib/mack-active_record/model_column.rb</a><br />
|
30
30
|
<a href="files/lib/mack-active_record/model_generator/model_generator_rb.html">lib/mack-active_record/model_generator/model_generator.rb</a><br />
|
31
|
-
<a href="files/lib/mack-active_record/
|
31
|
+
<a href="files/lib/mack-active_record/test_extensions_rb.html">lib/mack-active_record/test_extensions.rb</a><br />
|
32
32
|
<a href="files/lib/mack-active_record_tasks_rb.html">lib/mack-active_record_tasks.rb</a><br />
|
33
33
|
</div>
|
34
34
|
</div>
|
data/doc/fr_method_index.html
CHANGED
@@ -20,21 +20,18 @@
|
|
20
20
|
<div id="index">
|
21
21
|
<h1 class="section-bar">Methods</h1>
|
22
22
|
<div id="index-entries">
|
23
|
-
<a href="classes/Mack/
|
24
|
-
<a href="classes/Mack/
|
25
|
-
<a href="classes/Mack/Database.html#
|
26
|
-
<a href="classes/Mack/Database.html#
|
23
|
+
<a href="classes/Mack/Database/Migrations.html#M000010">abort_if_pending_migrations (Mack::Database::Migrations)</a><br />
|
24
|
+
<a href="classes/Mack/Database/Generators.html#M000007">controller_template_location (Mack::Database::Generators)</a><br />
|
25
|
+
<a href="classes/Mack/Database.html#M000003">create (Mack::Database)</a><br />
|
26
|
+
<a href="classes/Mack/Database.html#M000004">drop (Mack::Database)</a><br />
|
27
|
+
<a href="classes/Mack/Database.html#M000006">dump_structure (Mack::Database)</a><br />
|
27
28
|
<a href="classes/Mack/ViewHelpers/ActiveRecordHelpers.html#M000001">error_messages_for (Mack::ViewHelpers::ActiveRecordHelpers)</a><br />
|
28
|
-
<a href="classes/Mack/Database.html#
|
29
|
-
<a href="classes/Mack/
|
30
|
-
<a href="classes/Mack/
|
31
|
-
<a href="classes/Mack/
|
32
|
-
<a href="classes/Mack/
|
33
|
-
<a href="classes/Mack/
|
34
|
-
<a href="classes/Mack/Genosaurus/ActiveRecord/ModelColumn.html#M000006">new (Mack::Genosaurus::ActiveRecord::ModelColumn)</a><br />
|
35
|
-
<a href="classes/Mack/Genosaurus/ActiveRecord/Helpers.html#M000005">next_migration_number (Mack::Genosaurus::ActiveRecord::Helpers)</a><br />
|
36
|
-
<a href="classes/Mack/Database/Migrator.html#M000015">rollback (Mack::Database::Migrator)</a><br />
|
37
|
-
<a href="classes/Mack/Database/Migrator.html#M000013">version (Mack::Database::Migrator)</a><br />
|
29
|
+
<a href="classes/Mack/Database.html#M000002">establish_connection (Mack::Database)</a><br />
|
30
|
+
<a href="classes/Mack/Database.html#M000005">load_structure (Mack::Database)</a><br />
|
31
|
+
<a href="classes/Mack/Database/Migrations.html#M000008">migrate (Mack::Database::Migrations)</a><br />
|
32
|
+
<a href="classes/Mack/Database/Migrations.html#M000009">rollback (Mack::Database::Migrations)</a><br />
|
33
|
+
<a href="classes/Mack/Testing/ActiveRecordHelpers.html#M000012">rollback_transaction (Mack::Testing::ActiveRecordHelpers)</a><br />
|
34
|
+
<a href="classes/Mack/Database/Migrations.html#M000011">version (Mack::Database::Migrations)</a><br />
|
38
35
|
</div>
|
39
36
|
</div>
|
40
37
|
</body>
|