mack-active_record 0.7.1 → 0.7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- metadata +3 -27
- data/doc/classes/Mack/Database/Generators.html +0 -140
- data/doc/classes/Mack/Database/Migrations.html +0 -228
- data/doc/classes/Mack/Database.html +0 -321
- data/doc/classes/Mack/Testing/ActiveRecordHelpers.html +0 -168
- data/doc/classes/Mack/ViewHelpers/ActiveRecordHelpers.html +0 -200
- data/doc/classes/Mack.html +0 -127
- data/doc/classes/MigrationGenerator.html +0 -159
- data/doc/classes/ModelGenerator.html +0 -174
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -111
- data/doc/files/lib/mack-active_record/database_migrations_rb.html +0 -101
- data/doc/files/lib/mack-active_record/database_rb.html +0 -101
- data/doc/files/lib/mack-active_record/generators_rb.html +0 -101
- data/doc/files/lib/mack-active_record/helpers/orm_helpers_rb.html +0 -101
- data/doc/files/lib/mack-active_record/migration_generator/migration_generator_rb.html +0 -149
- data/doc/files/lib/mack-active_record/model_generator/model_generator_rb.html +0 -164
- data/doc/files/lib/mack-active_record/test_extensions_rb.html +0 -109
- data/doc/files/lib/mack-active_record_rb.html +0 -111
- data/doc/files/lib/mack-active_record_tasks_rb.html +0 -108
- data/doc/fr_class_index.html +0 -34
- data/doc/fr_file_index.html +0 -36
- data/doc/fr_method_index.html +0 -38
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,168 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: Mack::Testing::ActiveRecordHelpers</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack::Testing::ActiveRecordHelpers</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/mack-active_record/test_extensions_rb.html">
|
59
|
-
lib/mack-active_record/test_extensions.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
<div id="description">
|
76
|
-
<p>
|
77
|
-
module Helpers
|
78
|
-
</p>
|
79
|
-
<pre>
|
80
|
-
alias_method :mack_rake_task, :rake_task
|
81
|
-
|
82
|
-
def rake_task(name, env = {}) # :nodoc:
|
83
|
-
DataMapper::MigrationRunner.reset!
|
84
|
-
mack_rake_task(name, env, [File.join(File.dirname(__FILE__), "tasks", "db_create_drop_tasks.rake"),
|
85
|
-
File.join(File.dirname(__FILE__), "tasks", "db_migration_tasks.rake")])
|
86
|
-
end
|
87
|
-
</pre>
|
88
|
-
<p>
|
89
|
-
end # Helpers
|
90
|
-
</p>
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
<div id="method-list">
|
98
|
-
<h3 class="section-bar">Methods</h3>
|
99
|
-
|
100
|
-
<div class="name-list">
|
101
|
-
<a href="#M000012">rollback_transaction</a>
|
102
|
-
</div>
|
103
|
-
</div>
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
<!-- if includes -->
|
109
|
-
|
110
|
-
<div id="section">
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<!-- if method_list -->
|
120
|
-
<div id="methods">
|
121
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
122
|
-
|
123
|
-
<div id="method-M000012" class="method-detail">
|
124
|
-
<a name="M000012"></a>
|
125
|
-
|
126
|
-
<div class="method-heading">
|
127
|
-
<a href="#M000012" class="method-signature">
|
128
|
-
<span class="method-name">rollback_transaction</span><span class="method-args">() {|if block_given?| ...}</span>
|
129
|
-
</a>
|
130
|
-
</div>
|
131
|
-
|
132
|
-
<div class="method-description">
|
133
|
-
<p><a class="source-toggle" href="#"
|
134
|
-
onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
|
135
|
-
<div class="method-source-code" id="M000012-source">
|
136
|
-
<pre>
|
137
|
-
<span class="ruby-comment cmt"># File lib/mack-active_record/test_extensions.rb, line 27</span>
|
138
|
-
27: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rollback_transaction</span>
|
139
|
-
28: <span class="ruby-keyword kw">begin</span>
|
140
|
-
29: <span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>.<span class="ruby-identifier">transaction</span> <span class="ruby-keyword kw">do</span>
|
141
|
-
30: <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
142
|
-
31: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Rollback!"</span>
|
143
|
-
32: <span class="ruby-keyword kw">end</span>
|
144
|
-
33: <span class="ruby-keyword kw">rescue</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">ex</span>
|
145
|
-
34: <span class="ruby-comment cmt"># we need to do this so we can throw up actual errors!</span>
|
146
|
-
35: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"Rollback!"</span>
|
147
|
-
36: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">ex</span>
|
148
|
-
37: <span class="ruby-keyword kw">end</span>
|
149
|
-
38: <span class="ruby-keyword kw">end</span>
|
150
|
-
39: <span class="ruby-keyword kw">end</span>
|
151
|
-
</pre>
|
152
|
-
</div>
|
153
|
-
</div>
|
154
|
-
</div>
|
155
|
-
|
156
|
-
|
157
|
-
</div>
|
158
|
-
|
159
|
-
|
160
|
-
</div>
|
161
|
-
|
162
|
-
|
163
|
-
<div id="validator-badges">
|
164
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
165
|
-
</div>
|
166
|
-
|
167
|
-
</body>
|
168
|
-
</html>
|
@@ -1,200 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: Mack::ViewHelpers::ActiveRecordHelpers</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack::ViewHelpers::ActiveRecordHelpers</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/mack-active_record/helpers/orm_helpers_rb.html">
|
59
|
-
lib/mack-active_record/helpers/orm_helpers.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="method-list">
|
80
|
-
<h3 class="section-bar">Methods</h3>
|
81
|
-
|
82
|
-
<div class="name-list">
|
83
|
-
<a href="#M000001">error_messages_for</a>
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
<!-- if includes -->
|
91
|
-
|
92
|
-
<div id="section">
|
93
|
-
|
94
|
-
|
95
|
-
<div id="constants-list">
|
96
|
-
<h3 class="section-bar">Constants</h3>
|
97
|
-
|
98
|
-
<div class="name-list">
|
99
|
-
<table summary="Constants">
|
100
|
-
<tr class="top-aligned-row context-row">
|
101
|
-
<td class="context-item-name">DEFAULT_PARTIAL</td>
|
102
|
-
<td>=</td>
|
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
|
-
</tr>
|
105
|
-
</table>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<!-- if method_list -->
|
115
|
-
<div id="methods">
|
116
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
117
|
-
|
118
|
-
<div id="method-M000001" class="method-detail">
|
119
|
-
<a name="M000001"></a>
|
120
|
-
|
121
|
-
<div class="method-heading">
|
122
|
-
<a href="#M000001" class="method-signature">
|
123
|
-
<span class="method-name">error_messages_for</span><span class="method-args">(object_names = [], view_partial = nil)</span>
|
124
|
-
</a>
|
125
|
-
</div>
|
126
|
-
|
127
|
-
<div class="method-description">
|
128
|
-
<p><a class="source-toggle" href="#"
|
129
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
130
|
-
<div class="method-source-code" id="M000001-source">
|
131
|
-
<pre>
|
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">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Paths</span>.<span class="ruby-identifier">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
|
-
</pre>
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
</div>
|
187
|
-
|
188
|
-
|
189
|
-
</div>
|
190
|
-
|
191
|
-
|
192
|
-
</div>
|
193
|
-
|
194
|
-
|
195
|
-
<div id="validator-badges">
|
196
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
</body>
|
200
|
-
</html>
|
data/doc/classes/Mack.html
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: Mack</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">Mack</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/mack-active_record/database_rb.html">
|
59
|
-
lib/mack-active_record/database.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
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
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/mack-active_record/helpers/orm_helpers_rb.html">
|
71
|
-
lib/mack-active_record/helpers/orm_helpers.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/mack-active_record/test_extensions_rb.html">
|
75
|
-
lib/mack-active_record/test_extensions.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
|
81
|
-
</table>
|
82
|
-
</div>
|
83
|
-
<!-- banner header -->
|
84
|
-
|
85
|
-
<div id="bodyContent">
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<div id="contextContent">
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
|
99
|
-
<!-- if includes -->
|
100
|
-
|
101
|
-
<div id="section">
|
102
|
-
|
103
|
-
<div id="class-list">
|
104
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
105
|
-
|
106
|
-
Module <a href="Mack/Database.html" class="link">Mack::Database</a><br />
|
107
|
-
|
108
|
-
</div>
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
<!-- if method_list -->
|
117
|
-
|
118
|
-
|
119
|
-
</div>
|
120
|
-
|
121
|
-
|
122
|
-
<div id="validator-badges">
|
123
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</body>
|
127
|
-
</html>
|