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.
@@ -1,159 +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>Class: MigrationGenerator</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>Class</strong></td>
53
- <td class="class-name-in-header">MigrationGenerator</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/migration_generator/migration_generator_rb.html">
59
- lib/mack-active_record/migration_generator/migration_generator.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Genosaurus
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- This will generate a migration for your application.
84
- </p>
85
- <p>
86
- Example without columns:
87
- </p>
88
- <pre>
89
- rake generate:migration name=create_users
90
- </pre>
91
- <p>
92
- db/migrations/&lt;number&gt;_create_users.rb:
93
- </p>
94
- <pre>
95
- class CreateUsers &lt; ActiveRecord::Migration
96
- self.up
97
- end
98
-
99
- self.down
100
- end
101
- end
102
- </pre>
103
- <p>
104
- Example with columns:
105
- </p>
106
- <pre>
107
- rake generate:migration name=create_users cols=username:string,email_address:string,created_at:datetime,updated_at:datetime
108
- </pre>
109
- <p>
110
- db/migrations/&lt;number&gt;_create_users.rb:
111
- </p>
112
- <pre>
113
- class CreateUsers &lt; ActiveRecord::Migration
114
- self.up
115
- create_table :users do |t|
116
- t.column :username, :string
117
- t.column :email_address, :string
118
- t.column :created_at, :datetime
119
- t.column :updated_at, :datetime
120
- end
121
-
122
- self.down
123
- drop_table :users
124
- end
125
- end
126
- </pre>
127
-
128
- </div>
129
-
130
-
131
- </div>
132
-
133
-
134
- </div>
135
-
136
-
137
- <!-- if includes -->
138
-
139
- <div id="section">
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- <!-- if method_list -->
149
-
150
-
151
- </div>
152
-
153
-
154
- <div id="validator-badges">
155
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
156
- </div>
157
-
158
- </body>
159
- </html>
@@ -1,174 +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>Class: ModelGenerator</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>Class</strong></td>
53
- <td class="class-name-in-header">ModelGenerator</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/model_generator/model_generator_rb.html">
59
- lib/mack-active_record/model_generator/model_generator.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Genosaurus
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- This will generate an ORM &#8216;model&#8217; for your application based on
84
- the specified ORM you&#8216;re using.
85
- </p>
86
- <p>
87
- Example without columns:
88
- </p>
89
- <pre>
90
- rake generate:model name=user
91
- </pre>
92
- <p>
93
- app/models/user.rb:
94
- </p>
95
- <pre>
96
- class User &lt; ActiveRecord::Base
97
- end
98
- </pre>
99
- <p>
100
- db/migrations/&lt;number&gt;_create_users.rb:
101
- </p>
102
- <pre>
103
- class CreateUsers &lt; ActiveRecord::Migration
104
- self.up
105
- end
106
-
107
- self.down
108
- end
109
- end
110
- </pre>
111
- <p>
112
- Example with columns:
113
- </p>
114
- <pre>
115
- rake generate:model name=user cols=username:string,email_address:string,created_at:datetime,updated_at:datetime
116
- </pre>
117
- <p>
118
- app/models/user.rb:
119
- </p>
120
- <pre>
121
- class User &lt; ActiveRecord::Base
122
- end
123
- </pre>
124
- <p>
125
- db/migrations/&lt;number&gt;_create_users.rb:
126
- </p>
127
- <pre>
128
- class CreateUsers &lt; ActiveRecord::Migration
129
- self.up
130
- create_table :users do |t|
131
- t.column :username, :string
132
- t.column :email_address, :string
133
- t.column :created_at, :datetime
134
- t.column :updated_at, :datetime
135
- end
136
-
137
- self.down
138
- drop_table :users
139
- end
140
- end
141
- </pre>
142
-
143
- </div>
144
-
145
-
146
- </div>
147
-
148
-
149
- </div>
150
-
151
-
152
- <!-- if includes -->
153
-
154
- <div id="section">
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <!-- if method_list -->
164
-
165
-
166
- </div>
167
-
168
-
169
- <div id="validator-badges">
170
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
171
- </div>
172
-
173
- </body>
174
- </html>
data/doc/created.rid DELETED
@@ -1 +0,0 @@
1
- Mon, 08 Sep 2008 10:56:06 -0400
@@ -1,111 +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>File: README</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="fileHeader">
50
- <h1>README</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>README
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Mon Sep 08 10:32:41 -0400 2008</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- README
74
- </p>
75
- <h6>==================================================================</h6>
76
- <p>
77
- mack-active_record was developed by: markbates
78
- </p>
79
-
80
- </div>
81
-
82
-
83
- </div>
84
-
85
-
86
- </div>
87
-
88
-
89
- <!-- if includes -->
90
-
91
- <div id="section">
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <!-- if method_list -->
101
-
102
-
103
- </div>
104
-
105
-
106
- <div id="validator-badges">
107
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
108
- </div>
109
-
110
- </body>
111
- </html>