mack-data_mapper 0.6.1.1 → 0.6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/doc/classes/DataMapper/Resource.html +154 -0
  2. data/doc/classes/DataMapper/Timestamp.html +105 -0
  3. data/doc/classes/Mack/Database.html +210 -0
  4. data/doc/classes/Mack/Testing/DataMapperHelpers.html +151 -0
  5. data/doc/classes/Mack/Testing/Helpers.html +118 -0
  6. data/doc/classes/Mack/ViewHelpers/DataMapperHelpers.html +281 -0
  7. data/doc/classes/Mack.html +127 -0
  8. data/doc/classes/MigrationGenerator.html +161 -0
  9. data/doc/classes/ModelGenerator.html +183 -0
  10. data/doc/classes/ScaffoldGenerator.html +123 -0
  11. data/doc/created.rid +1 -0
  12. data/doc/files/README.html +230 -0
  13. data/doc/files/lib/mack-data_mapper/database_rb.html +101 -0
  14. data/doc/files/lib/mack-data_mapper/dm_patches/dm-timestamps_rb.html +101 -0
  15. data/doc/files/lib/mack-data_mapper/dm_patches/migrations_rb.html +101 -0
  16. data/doc/files/lib/mack-data_mapper/genosaurus_helpers_rb.html +101 -0
  17. data/doc/files/lib/mack-data_mapper/helpers/orm_helpers_rb.html +101 -0
  18. data/doc/files/lib/mack-data_mapper/migration_generator/migration_generator_rb.html +151 -0
  19. data/doc/files/lib/mack-data_mapper/model_column_rb.html +101 -0
  20. data/doc/files/lib/mack-data_mapper/model_generator/model_generator_rb.html +173 -0
  21. data/doc/files/lib/mack-data_mapper/resource_rb.html +101 -0
  22. data/doc/files/lib/mack-data_mapper/runner_rb.html +101 -0
  23. data/doc/files/lib/mack-data_mapper/scaffold_generator/scaffold_generator_rb.html +114 -0
  24. data/doc/files/lib/mack-data_mapper/test_extensions_rb.html +109 -0
  25. data/doc/files/lib/mack-data_mapper_rb.html +109 -0
  26. data/doc/files/lib/mack-data_mapper_tasks_rb.html +101 -0
  27. data/doc/fr_class_index.html +36 -0
  28. data/doc/fr_file_index.html +41 -0
  29. data/doc/fr_method_index.html +35 -0
  30. data/doc/index.html +24 -0
  31. data/doc/rdoc-style.css +208 -0
  32. metadata +33 -2
@@ -0,0 +1,118 @@
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::Helpers</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::Helpers</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mack-data_mapper/test_extensions_rb.html">
59
+ lib/mack-data_mapper/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
+
76
+
77
+ </div>
78
+
79
+
80
+ </div>
81
+
82
+
83
+ <!-- if includes -->
84
+
85
+ <div id="section">
86
+
87
+
88
+
89
+ <div id="aliases-list">
90
+ <h3 class="section-bar">External Aliases</h3>
91
+
92
+ <div class="name-list">
93
+ <table summary="aliases">
94
+ <tr class="top-aligned-row context-row">
95
+ <td class="context-item-name">rake_task</td>
96
+ <td>-&gt;</td>
97
+ <td class="context-item-value">mack_rake_task</td>
98
+ </tr>
99
+ </table>
100
+ </div>
101
+ </div>
102
+
103
+
104
+
105
+
106
+
107
+ <!-- if method_list -->
108
+
109
+
110
+ </div>
111
+
112
+
113
+ <div id="validator-badges">
114
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
115
+ </div>
116
+
117
+ </body>
118
+ </html>
@@ -0,0 +1,281 @@
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::DataMapperHelpers</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::DataMapperHelpers</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mack-data_mapper/helpers/orm_helpers_rb.html">
59
+ lib/mack-data_mapper/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="#M000002">error_messages_for</a>&nbsp;&nbsp;
84
+ <a href="#M000004">model_password_field</a>&nbsp;&nbsp;
85
+ <a href="#M000003">model_text_field</a>&nbsp;&nbsp;
86
+ <a href="#M000005">model_textarea</a>&nbsp;&nbsp;
87
+ </div>
88
+ </div>
89
+
90
+ </div>
91
+
92
+
93
+ <!-- if includes -->
94
+
95
+ <div id="section">
96
+
97
+
98
+ <div id="constants-list">
99
+ <h3 class="section-bar">Constants</h3>
100
+
101
+ <div class="name-list">
102
+ <table summary="Constants">
103
+ <tr class="top-aligned-row context-row">
104
+ <td class="context-item-name">DEFAULT_PARTIAL</td>
105
+ <td>=</td>
106
+ <td class="context-item-value">%{ &lt;div&gt; &lt;div class=&quot;errorExplanation&quot; id=&quot;errorExplanation&quot;&gt; &lt;h2&gt;&lt;%= pluralize_word(errors.size, &quot;error&quot;) %&gt; occured.&lt;/h2&gt; &lt;ul&gt; &lt;% for error in errors %&gt; &lt;li&gt;&lt;%= error %&gt;&lt;/li&gt; &lt;% end %&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; } unless Mack::ViewHelpers::DataMapperHelpers.const_defined?(&quot;DEFAULT_PARTIAL&quot;)</td>
107
+ </tr>
108
+ </table>
109
+ </div>
110
+ </div>
111
+
112
+
113
+
114
+
115
+
116
+
117
+ <!-- if method_list -->
118
+ <div id="methods">
119
+ <h3 class="section-bar">Public Instance methods</h3>
120
+
121
+ <div id="method-M000002" class="method-detail">
122
+ <a name="M000002"></a>
123
+
124
+ <div class="method-heading">
125
+ <a href="#M000002" class="method-signature">
126
+ <span class="method-name">error_messages_for</span><span class="method-args">(object_names = [], view_partial = nil)</span>
127
+ </a>
128
+ </div>
129
+
130
+ <div class="method-description">
131
+ <p>
132
+ Provides view level support for printing out all the errors associated with
133
+ the models you tell it. The DEFAULT_PARTIAL constant provides a simple,
134
+ default, set of HTML for displaying the errors. If you wish to change this
135
+ HTML there are two simple ways of doing it. First if you have a partial
136
+ named: app/views/application/_error_messages.html.erb, then it will use
137
+ that default, and not DEFAULT_PARTIAL. The other option is to pass in a
138
+ path to partial as the second argument and that partial will be rendered.
139
+ </p>
140
+ <p><a class="source-toggle" href="#"
141
+ onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
142
+ <div class="method-source-code" id="M000002-source">
143
+ <pre>
144
+ <span class="ruby-comment cmt"># File lib/mack-data_mapper/helpers/orm_helpers.rb, line 25</span>
145
+ 25: <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>)
146
+ 26: <span class="ruby-identifier">object_names</span> = [<span class="ruby-identifier">object_names</span>].<span class="ruby-identifier">flatten</span>
147
+ 27: <span class="ruby-identifier">app_errors</span> = []
148
+ 28: <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>
149
+ 29: <span class="ruby-identifier">object</span> = <span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-node">&quot;@#{name}&quot;</span>)
150
+ 30: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object</span>
151
+ 31: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:errors</span>)
152
+ 32: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object</span>.<span class="ruby-identifier">errors</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:full_messages</span>)
153
+ 33: <span class="ruby-identifier">app_errors</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">object</span>.<span class="ruby-identifier">errors</span>.<span class="ruby-identifier">full_messages</span>.<span class="ruby-identifier">uniq</span>
154
+ 34: <span class="ruby-keyword kw">end</span>
155
+ 35: <span class="ruby-keyword kw">end</span>
156
+ 36: <span class="ruby-keyword kw">end</span>
157
+ 37: <span class="ruby-keyword kw">end</span>
158
+ 38: <span class="ruby-identifier">app_errors</span>.<span class="ruby-identifier">flatten!</span>
159
+ 39: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">app_errors</span>.<span class="ruby-identifier">empty?</span>
160
+ 40: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">view_partial</span>.<span class="ruby-identifier">nil?</span>
161
+ 41: <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">&quot;app&quot;</span>, <span class="ruby-value str">&quot;views&quot;</span>, <span class="ruby-value str">&quot;application&quot;</span>, <span class="ruby-value str">&quot;_error_messages.html.erb&quot;</span>))
162
+ 42: <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:partial</span>, <span class="ruby-value str">&quot;application/error_messages&quot;</span>, <span class="ruby-identifier">:locals</span> =<span class="ruby-operator">&gt;</span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">app_errors</span>})
163
+ 43: <span class="ruby-keyword kw">else</span>
164
+ 44: <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">&gt;</span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">app_errors</span>})
165
+ 45: <span class="ruby-keyword kw">end</span>
166
+ 46: <span class="ruby-keyword kw">else</span>
167
+ 47: <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">&gt;</span> {<span class="ruby-identifier">:errors</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">app_errors</span>})
168
+ 48: <span class="ruby-keyword kw">end</span>
169
+ 49: <span class="ruby-keyword kw">else</span>
170
+ 50: <span class="ruby-value str">&quot;&quot;</span>
171
+ 51: <span class="ruby-keyword kw">end</span>
172
+ 52: <span class="ruby-keyword kw">end</span>
173
+ </pre>
174
+ </div>
175
+ </div>
176
+ </div>
177
+
178
+ <div id="method-M000004" class="method-detail">
179
+ <a name="M000004"></a>
180
+
181
+ <div class="method-heading">
182
+ <a href="#M000004" class="method-signature">
183
+ <span class="method-name">model_password_field</span><span class="method-args">(model, property, options = {})</span>
184
+ </a>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+ <p>
189
+ Generates a password input tag for a given model and field
190
+ </p>
191
+ <p>
192
+ Example: <a
193
+ href="DataMapperHelpers.html#M000004">model_password_field</a>(@user,
194
+ :password) # =&gt; &lt;input id=&quot;user_username&quot;
195
+ name=&quot;user[username]&quot; type=&quot;password&quot;
196
+ value=&quot;&lt;@user.username&#8216;s value&gt;&quot; /&gt;
197
+ </p>
198
+ <p><a class="source-toggle" href="#"
199
+ onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
200
+ <div class="method-source-code" id="M000004-source">
201
+ <pre>
202
+ <span class="ruby-comment cmt"># File lib/mack-data_mapper/helpers/orm_helpers.rb, line 67</span>
203
+ 67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">model_password_field</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">property</span>, <span class="ruby-identifier">options</span> = {})
204
+ 68: <span class="ruby-identifier">model_text_field</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">property</span>, {<span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:password</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>))
205
+ 69: <span class="ruby-keyword kw">end</span>
206
+ </pre>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <div id="method-M000003" class="method-detail">
212
+ <a name="M000003"></a>
213
+
214
+ <div class="method-heading">
215
+ <a href="#M000003" class="method-signature">
216
+ <span class="method-name">model_text_field</span><span class="method-args">(model, property, options = {})</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ <p>
222
+ Generates a text input tag for a given model and field
223
+ </p>
224
+ <p>
225
+ Example: <a
226
+ href="DataMapperHelpers.html#M000003">model_text_field</a>(@user,
227
+ :username) # =&gt; &lt;input id=&quot;user_username&quot;
228
+ name=&quot;user[username]&quot; type=&quot;text&quot;
229
+ value=&quot;&lt;@user.username&#8216;s value&gt;&quot; /&gt;
230
+ </p>
231
+ <p><a class="source-toggle" href="#"
232
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
233
+ <div class="method-source-code" id="M000003-source">
234
+ <pre>
235
+ <span class="ruby-comment cmt"># File lib/mack-data_mapper/helpers/orm_helpers.rb, line 58</span>
236
+ 58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">model_text_field</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">property</span>, <span class="ruby-identifier">options</span> = {})
237
+ 59: <span class="ruby-identifier">m_name</span> = <span class="ruby-identifier">model</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">underscore</span>
238
+ 60: <span class="ruby-identifier">non_content_tag</span>(<span class="ruby-identifier">:input</span>, {<span class="ruby-identifier">:type</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:text</span>, <span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{m_name}[#{property}]&quot;</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{m_name}_#{property}&quot;</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">model</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">property</span>)}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>))
239
+ 61: <span class="ruby-keyword kw">end</span>
240
+ </pre>
241
+ </div>
242
+ </div>
243
+ </div>
244
+
245
+ <div id="method-M000005" class="method-detail">
246
+ <a name="M000005"></a>
247
+
248
+ <div class="method-heading">
249
+ <a href="#M000005" class="method-signature">
250
+ <span class="method-name">model_textarea</span><span class="method-args">(model, property, options = {})</span>
251
+ </a>
252
+ </div>
253
+
254
+ <div class="method-description">
255
+ <p><a class="source-toggle" href="#"
256
+ onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
257
+ <div class="method-source-code" id="M000005-source">
258
+ <pre>
259
+ <span class="ruby-comment cmt"># File lib/mack-data_mapper/helpers/orm_helpers.rb, line 71</span>
260
+ 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">model_textarea</span>(<span class="ruby-identifier">model</span>, <span class="ruby-identifier">property</span>, <span class="ruby-identifier">options</span> = {})
261
+ 72: <span class="ruby-identifier">m_name</span> = <span class="ruby-identifier">model</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">underscore</span>
262
+ 73: <span class="ruby-identifier">content_tag</span>(<span class="ruby-identifier">:textarea</span>, {<span class="ruby-identifier">:name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{m_name}[#{property}]&quot;</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-node">&quot;#{m_name}_#{property}&quot;</span>, <span class="ruby-identifier">:cols</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">60</span>, <span class="ruby-identifier">:rows</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">20</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>), <span class="ruby-identifier">model</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">property</span>))
263
+ 74: <span class="ruby-keyword kw">end</span>
264
+ </pre>
265
+ </div>
266
+ </div>
267
+ </div>
268
+
269
+
270
+ </div>
271
+
272
+
273
+ </div>
274
+
275
+
276
+ <div id="validator-badges">
277
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
278
+ </div>
279
+
280
+ </body>
281
+ </html>
@@ -0,0 +1,127 @@
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-data_mapper/database_rb.html">
59
+ lib/mack-data_mapper/database.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/mack-data_mapper/genosaurus_helpers_rb.html">
63
+ lib/mack-data_mapper/genosaurus_helpers.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/mack-data_mapper/helpers/orm_helpers_rb.html">
67
+ lib/mack-data_mapper/helpers/orm_helpers.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/mack-data_mapper/model_column_rb.html">
71
+ lib/mack-data_mapper/model_column.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/mack-data_mapper/test_extensions_rb.html">
75
+ lib/mack-data_mapper/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>