activerecord 1.13.2 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activerecord might be problematic. Click here for more details.

Files changed (144) hide show
  1. data/CHANGELOG +452 -10
  2. data/RUNNING_UNIT_TESTS +1 -1
  3. data/lib/active_record.rb +5 -2
  4. data/lib/active_record/acts/list.rb +1 -1
  5. data/lib/active_record/acts/tree.rb +29 -25
  6. data/lib/active_record/aggregations.rb +3 -2
  7. data/lib/active_record/associations.rb +783 -337
  8. data/lib/active_record/associations/association_collection.rb +7 -12
  9. data/lib/active_record/associations/association_proxy.rb +62 -24
  10. data/lib/active_record/associations/belongs_to_association.rb +27 -46
  11. data/lib/active_record/associations/belongs_to_polymorphic_association.rb +50 -0
  12. data/lib/active_record/associations/has_and_belongs_to_many_association.rb +38 -38
  13. data/lib/active_record/associations/has_many_association.rb +61 -56
  14. data/lib/active_record/associations/has_many_through_association.rb +144 -0
  15. data/lib/active_record/associations/has_one_association.rb +22 -16
  16. data/lib/active_record/base.rb +482 -182
  17. data/lib/active_record/calculations.rb +225 -0
  18. data/lib/active_record/callbacks.rb +7 -7
  19. data/lib/active_record/connection_adapters/abstract/connection_specification.rb +162 -47
  20. data/lib/active_record/connection_adapters/abstract/quoting.rb +1 -1
  21. data/lib/active_record/connection_adapters/abstract/schema_definitions.rb +2 -1
  22. data/lib/active_record/connection_adapters/abstract/schema_statements.rb +21 -1
  23. data/lib/active_record/connection_adapters/abstract_adapter.rb +34 -2
  24. data/lib/active_record/connection_adapters/db2_adapter.rb +107 -61
  25. data/lib/active_record/connection_adapters/mysql_adapter.rb +29 -6
  26. data/lib/active_record/connection_adapters/openbase_adapter.rb +349 -0
  27. data/lib/active_record/connection_adapters/{oci_adapter.rb → oracle_adapter.rb} +125 -59
  28. data/lib/active_record/connection_adapters/postgresql_adapter.rb +24 -21
  29. data/lib/active_record/connection_adapters/sqlite_adapter.rb +47 -8
  30. data/lib/active_record/connection_adapters/sqlserver_adapter.rb +36 -16
  31. data/lib/active_record/connection_adapters/sybase_adapter.rb +684 -0
  32. data/lib/active_record/fixtures.rb +42 -17
  33. data/lib/active_record/locking.rb +36 -15
  34. data/lib/active_record/migration.rb +111 -8
  35. data/lib/active_record/observer.rb +25 -1
  36. data/lib/active_record/reflection.rb +103 -41
  37. data/lib/active_record/schema.rb +2 -2
  38. data/lib/active_record/schema_dumper.rb +55 -18
  39. data/lib/active_record/timestamp.rb +6 -6
  40. data/lib/active_record/validations.rb +65 -40
  41. data/lib/active_record/vendor/db2.rb +10 -5
  42. data/lib/active_record/vendor/simple.rb +693 -702
  43. data/lib/active_record/version.rb +2 -2
  44. data/rakefile +4 -4
  45. data/test/aaa_create_tables_test.rb +25 -6
  46. data/test/abstract_unit.rb +39 -1
  47. data/test/adapter_test.rb +31 -4
  48. data/test/associations_cascaded_eager_loading_test.rb +106 -0
  49. data/test/associations_go_eager_test.rb +85 -16
  50. data/test/associations_join_model_test.rb +338 -0
  51. data/test/associations_test.rb +129 -50
  52. data/test/base_test.rb +204 -49
  53. data/test/binary_test.rb +1 -1
  54. data/test/calculations_test.rb +169 -0
  55. data/test/callbacks_test.rb +5 -23
  56. data/test/class_inheritable_attributes_test.rb +1 -1
  57. data/test/column_alias_test.rb +1 -1
  58. data/test/connections/native_mysql/connection.rb +1 -0
  59. data/test/connections/native_openbase/connection.rb +22 -0
  60. data/test/connections/{native_oci → native_oracle}/connection.rb +7 -9
  61. data/test/connections/native_sqlite/connection.rb +1 -1
  62. data/test/connections/native_sqlite3/connection.rb +1 -0
  63. data/test/connections/native_sqlite3/in_memory_connection.rb +1 -0
  64. data/test/connections/native_sybase/connection.rb +24 -0
  65. data/test/defaults_test.rb +18 -0
  66. data/test/deprecated_associations_test.rb +2 -2
  67. data/test/deprecated_finder_test.rb +0 -6
  68. data/test/finder_test.rb +26 -23
  69. data/test/fixtures/accounts.yml +10 -0
  70. data/test/fixtures/author.rb +31 -6
  71. data/test/fixtures/author_favorites.yml +4 -0
  72. data/test/fixtures/categories/special_categories.yml +9 -0
  73. data/test/fixtures/categories/subsubdir/arbitrary_filename.yml +4 -0
  74. data/test/fixtures/categories_posts.yml +4 -0
  75. data/test/fixtures/categorization.rb +5 -0
  76. data/test/fixtures/categorizations.yml +11 -0
  77. data/test/fixtures/category.rb +6 -0
  78. data/test/fixtures/company.rb +17 -5
  79. data/test/fixtures/company_in_module.rb +19 -5
  80. data/test/fixtures/db_definitions/db2.drop.sql +3 -0
  81. data/test/fixtures/db_definitions/db2.sql +121 -100
  82. data/test/fixtures/db_definitions/db22.sql +2 -2
  83. data/test/fixtures/db_definitions/firebird.drop.sql +4 -0
  84. data/test/fixtures/db_definitions/firebird.sql +26 -0
  85. data/test/fixtures/db_definitions/mysql.drop.sql +3 -0
  86. data/test/fixtures/db_definitions/mysql.sql +21 -1
  87. data/test/fixtures/db_definitions/openbase.drop.sql +2 -0
  88. data/test/fixtures/db_definitions/openbase.sql +282 -0
  89. data/test/fixtures/db_definitions/openbase2.drop.sql +2 -0
  90. data/test/fixtures/db_definitions/openbase2.sql +7 -0
  91. data/test/fixtures/db_definitions/{oci.drop.sql → oracle.drop.sql} +6 -0
  92. data/test/fixtures/db_definitions/{oci.sql → oracle.sql} +25 -4
  93. data/test/fixtures/db_definitions/{oci2.drop.sql → oracle2.drop.sql} +0 -0
  94. data/test/fixtures/db_definitions/{oci2.sql → oracle2.sql} +0 -0
  95. data/test/fixtures/db_definitions/postgresql.drop.sql +4 -0
  96. data/test/fixtures/db_definitions/postgresql.sql +22 -1
  97. data/test/fixtures/db_definitions/schema.rb +32 -0
  98. data/test/fixtures/db_definitions/sqlite.drop.sql +3 -0
  99. data/test/fixtures/db_definitions/sqlite.sql +18 -0
  100. data/test/fixtures/db_definitions/sqlserver.drop.sql +3 -0
  101. data/test/fixtures/db_definitions/sqlserver.sql +23 -3
  102. data/test/fixtures/db_definitions/sybase.drop.sql +31 -0
  103. data/test/fixtures/db_definitions/sybase.sql +204 -0
  104. data/test/fixtures/db_definitions/sybase2.drop.sql +4 -0
  105. data/test/fixtures/db_definitions/sybase2.sql +5 -0
  106. data/test/fixtures/developers.yml +6 -1
  107. data/test/fixtures/developers_projects.yml +4 -0
  108. data/test/fixtures/funny_jokes.yml +14 -0
  109. data/test/fixtures/joke.rb +6 -0
  110. data/test/fixtures/legacy_thing.rb +3 -0
  111. data/test/fixtures/legacy_things.yml +3 -0
  112. data/test/fixtures/mixin.rb +1 -1
  113. data/test/fixtures/person.rb +4 -1
  114. data/test/fixtures/post.rb +26 -1
  115. data/test/fixtures/project.rb +1 -0
  116. data/test/fixtures/reader.rb +4 -0
  117. data/test/fixtures/readers.yml +4 -0
  118. data/test/fixtures/reply.rb +2 -1
  119. data/test/fixtures/tag.rb +5 -0
  120. data/test/fixtures/tagging.rb +6 -0
  121. data/test/fixtures/taggings.yml +18 -0
  122. data/test/fixtures/tags.yml +7 -0
  123. data/test/fixtures/tasks.yml +2 -2
  124. data/test/fixtures/topic.rb +2 -2
  125. data/test/fixtures/topics.yml +1 -0
  126. data/test/fixtures_test.rb +47 -13
  127. data/test/inheritance_test.rb +2 -2
  128. data/test/locking_test.rb +15 -1
  129. data/test/method_scoping_test.rb +248 -13
  130. data/test/migration_test.rb +68 -11
  131. data/test/mixin_nested_set_test.rb +1 -1
  132. data/test/modules_test.rb +6 -1
  133. data/test/readonly_test.rb +1 -1
  134. data/test/reflection_test.rb +63 -9
  135. data/test/schema_dumper_test.rb +41 -0
  136. data/test/{synonym_test_oci.rb → synonym_test_oracle.rb} +1 -1
  137. data/test/threaded_connections_test.rb +10 -0
  138. data/test/unconnected_test.rb +12 -5
  139. data/test/validations_test.rb +197 -10
  140. metadata +295 -260
  141. data/test/fixtures/db_definitions/create_oracle_db.bat +0 -0
  142. data/test/fixtures/db_definitions/create_oracle_db.sh +0 -0
  143. data/test/fixtures/fixture_database.sqlite +0 -0
  144. data/test/fixtures/fixture_database_2.sqlite +0 -0
metadata CHANGED
@@ -3,287 +3,322 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: activerecord
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.13.2
7
- date: 2005-12-13 00:00:00 -06:00
6
+ version: 1.14.0
7
+ date: 2006-03-27 00:00:00 -06:00
8
8
  summary: Implements the ActiveRecord pattern for ORM.
9
9
  require_paths:
10
- - lib
10
+ - lib
11
11
  email: david@loudthinking.com
12
12
  homepage: http://www.rubyonrails.org
13
13
  rubyforge_project: activerecord
14
- description: "Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database
15
- tables and classes together for business objects, like Customer or Subscription,
16
- that can find, save, and destroy themselves without resorting to manual SQL."
14
+ description: Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database tables and classes together for business objects, like Customer or Subscription, that can find, save, and destroy themselves without resorting to manual SQL.
17
15
  autorequire: active_record
18
16
  default_executable:
19
17
  bindir: bin
20
18
  has_rdoc: true
21
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
22
20
  requirements:
23
- -
24
- - ">"
25
- - !ruby/object:Gem::Version
26
- version: 0.0.0
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
27
24
  version:
28
25
  platform: ruby
29
26
  signing_key:
30
27
  cert_chain:
31
28
  authors:
32
- - David Heinemeier Hansson
29
+ - David Heinemeier Hansson
33
30
  files:
34
- - rakefile
35
- - install.rb
36
- - README
37
- - RUNNING_UNIT_TESTS
38
- - CHANGELOG
39
- - lib/active_record
40
- - lib/active_record.rb
41
- - lib/active_record/acts
42
- - lib/active_record/aggregations.rb
43
- - lib/active_record/associations
44
- - lib/active_record/associations.rb
45
- - lib/active_record/base.rb
46
- - lib/active_record/callbacks.rb
47
- - lib/active_record/connection_adapters
48
- - lib/active_record/deprecated_associations.rb
49
- - lib/active_record/deprecated_finders.rb
50
- - lib/active_record/fixtures.rb
51
- - lib/active_record/locking.rb
52
- - lib/active_record/migration.rb
53
- - lib/active_record/observer.rb
54
- - lib/active_record/query_cache.rb
55
- - lib/active_record/reflection.rb
56
- - lib/active_record/schema.rb
57
- - lib/active_record/schema_dumper.rb
58
- - lib/active_record/timestamp.rb
59
- - lib/active_record/transactions.rb
60
- - lib/active_record/validations.rb
61
- - lib/active_record/vendor
62
- - lib/active_record/version.rb
63
- - lib/active_record/wrappers
64
- - lib/active_record/wrappings.rb
65
- - lib/active_record/acts/list.rb
66
- - lib/active_record/acts/nested_set.rb
67
- - lib/active_record/acts/tree.rb
68
- - lib/active_record/associations/association_collection.rb
69
- - lib/active_record/associations/association_proxy.rb
70
- - lib/active_record/associations/belongs_to_association.rb
71
- - lib/active_record/associations/has_and_belongs_to_many_association.rb
72
- - lib/active_record/associations/has_many_association.rb
73
- - lib/active_record/associations/has_one_association.rb
74
- - lib/active_record/connection_adapters/abstract
75
- - lib/active_record/connection_adapters/abstract_adapter.rb
76
- - lib/active_record/connection_adapters/db2_adapter.rb
77
- - lib/active_record/connection_adapters/firebird_adapter.rb
78
- - lib/active_record/connection_adapters/mysql_adapter.rb
79
- - lib/active_record/connection_adapters/oci_adapter.rb
80
- - lib/active_record/connection_adapters/postgresql_adapter.rb
81
- - lib/active_record/connection_adapters/sqlite_adapter.rb
82
- - lib/active_record/connection_adapters/sqlserver_adapter.rb
83
- - lib/active_record/connection_adapters/abstract/connection_specification.rb
84
- - lib/active_record/connection_adapters/abstract/database_statements.rb
85
- - lib/active_record/connection_adapters/abstract/quoting.rb
86
- - lib/active_record/connection_adapters/abstract/schema_definitions.rb
87
- - lib/active_record/connection_adapters/abstract/schema_statements.rb
88
- - lib/active_record/vendor/db2.rb
89
- - lib/active_record/vendor/mysql.rb
90
- - lib/active_record/vendor/simple.rb
91
- - lib/active_record/wrappers/yaml_wrapper.rb
92
- - test/aaa_create_tables_test.rb
93
- - test/abstract_unit.rb
94
- - test/active_schema_mysql.rb
95
- - test/adapter_test.rb
96
- - test/aggregations_test.rb
97
- - test/all.sh
98
- - test/ar_schema_test.rb
99
- - test/association_callbacks_test.rb
100
- - test/association_inheritance_reload.rb
101
- - test/associations_extensions_test.rb
102
- - test/associations_go_eager_test.rb
103
- - test/associations_test.rb
104
- - test/base_test.rb
105
- - test/binary_test.rb
106
- - test/callbacks_test.rb
107
- - test/class_inheritable_attributes_test.rb
108
- - test/column_alias_test.rb
109
- - test/connections
110
- - test/copy_table_sqlite.rb
111
- - test/default_test_firebird.rb
112
- - test/deprecated_associations_test.rb
113
- - test/deprecated_finder_test.rb
114
- - test/finder_test.rb
115
- - test/fixtures
116
- - test/fixtures_test.rb
117
- - test/inheritance_test.rb
118
- - test/lifecycle_test.rb
119
- - test/locking_test.rb
120
- - test/method_scoping_test.rb
121
- - test/migration_test.rb
122
- - test/mixin_nested_set_test.rb
123
- - test/mixin_test.rb
124
- - test/modules_test.rb
125
- - test/multiple_db_test.rb
126
- - test/pk_test.rb
127
- - test/readonly_test.rb
128
- - test/reflection_test.rb
129
- - test/schema_dumper_test.rb
130
- - test/schema_test_postgresql.rb
131
- - test/synonym_test_oci.rb
132
- - test/threaded_connections_test.rb
133
- - test/transactions_test.rb
134
- - test/unconnected_test.rb
135
- - test/validations_test.rb
136
- - test/connections/native_db2
137
- - test/connections/native_firebird
138
- - test/connections/native_mysql
139
- - test/connections/native_oci
140
- - test/connections/native_postgresql
141
- - test/connections/native_sqlite
142
- - test/connections/native_sqlite3
143
- - test/connections/native_sqlserver
144
- - test/connections/native_sqlserver_odbc
145
- - test/connections/native_db2/connection.rb
146
- - test/connections/native_firebird/connection.rb
147
- - test/connections/native_mysql/connection.rb
148
- - test/connections/native_oci/connection.rb
149
- - test/connections/native_postgresql/connection.rb
150
- - test/connections/native_sqlite/connection.rb
151
- - test/connections/native_sqlite3/connection.rb
152
- - test/connections/native_sqlite3/in_memory_connection.rb
153
- - test/connections/native_sqlserver/connection.rb
154
- - test/connections/native_sqlserver_odbc/connection.rb
155
- - test/fixtures/accounts.yml
156
- - test/fixtures/author.rb
157
- - test/fixtures/authors.yml
158
- - test/fixtures/auto_id.rb
159
- - test/fixtures/bad_fixtures
160
- - test/fixtures/binary.rb
161
- - test/fixtures/categories.yml
162
- - test/fixtures/categories_ordered.yml
163
- - test/fixtures/categories_posts.yml
164
- - test/fixtures/category.rb
165
- - test/fixtures/column_name.rb
166
- - test/fixtures/comment.rb
167
- - test/fixtures/comments.yml
168
- - test/fixtures/companies.yml
169
- - test/fixtures/company.rb
170
- - test/fixtures/company_in_module.rb
171
- - test/fixtures/computer.rb
172
- - test/fixtures/computers.yml
173
- - test/fixtures/course.rb
174
- - test/fixtures/courses.yml
175
- - test/fixtures/customer.rb
176
- - test/fixtures/customers.yml
177
- - test/fixtures/db_definitions
178
- - test/fixtures/default.rb
179
- - test/fixtures/developer.rb
180
- - test/fixtures/developers.yml
181
- - test/fixtures/developers_projects
182
- - test/fixtures/developers_projects.yml
183
- - test/fixtures/entrant.rb
184
- - test/fixtures/entrants.yml
185
- - test/fixtures/fixture_database.sqlite
186
- - test/fixtures/fixture_database_2.sqlite
187
- - test/fixtures/fk_test_has_fk.yml
188
- - test/fixtures/fk_test_has_pk.yml
189
- - test/fixtures/flowers.jpg
190
- - test/fixtures/keyboard.rb
191
- - test/fixtures/migrations
192
- - test/fixtures/migrations_with_duplicate
193
- - test/fixtures/mixin.rb
194
- - test/fixtures/mixins.yml
195
- - test/fixtures/movie.rb
196
- - test/fixtures/movies.yml
197
- - test/fixtures/naked
198
- - test/fixtures/order.rb
199
- - test/fixtures/people.yml
200
- - test/fixtures/person.rb
201
- - test/fixtures/post.rb
202
- - test/fixtures/posts.yml
203
- - test/fixtures/project.rb
204
- - test/fixtures/projects.yml
205
- - test/fixtures/reply.rb
206
- - test/fixtures/subject.rb
207
- - test/fixtures/subscriber.rb
208
- - test/fixtures/subscribers
209
- - test/fixtures/task.rb
210
- - test/fixtures/tasks.yml
211
- - test/fixtures/topic.rb
212
- - test/fixtures/topics.yml
213
- - test/fixtures/bad_fixtures/attr_with_numeric_first_char
214
- - test/fixtures/bad_fixtures/attr_with_spaces
215
- - test/fixtures/bad_fixtures/blank_line
216
- - test/fixtures/bad_fixtures/duplicate_attributes
217
- - test/fixtures/bad_fixtures/missing_value
218
- - test/fixtures/db_definitions/create_oracle_db.bat
219
- - test/fixtures/db_definitions/create_oracle_db.sh
220
- - test/fixtures/db_definitions/db2.drop.sql
221
- - test/fixtures/db_definitions/db2.sql
222
- - test/fixtures/db_definitions/db22.drop.sql
223
- - test/fixtures/db_definitions/db22.sql
224
- - test/fixtures/db_definitions/firebird.drop.sql
225
- - test/fixtures/db_definitions/firebird.sql
226
- - test/fixtures/db_definitions/firebird2.drop.sql
227
- - test/fixtures/db_definitions/firebird2.sql
228
- - test/fixtures/db_definitions/mysql.drop.sql
229
- - test/fixtures/db_definitions/mysql.sql
230
- - test/fixtures/db_definitions/mysql2.drop.sql
231
- - test/fixtures/db_definitions/mysql2.sql
232
- - test/fixtures/db_definitions/oci.drop.sql
233
- - test/fixtures/db_definitions/oci.sql
234
- - test/fixtures/db_definitions/oci2.drop.sql
235
- - test/fixtures/db_definitions/oci2.sql
236
- - test/fixtures/db_definitions/postgresql.drop.sql
237
- - test/fixtures/db_definitions/postgresql.sql
238
- - test/fixtures/db_definitions/postgresql2.drop.sql
239
- - test/fixtures/db_definitions/postgresql2.sql
240
- - test/fixtures/db_definitions/sqlite.drop.sql
241
- - test/fixtures/db_definitions/sqlite.sql
242
- - test/fixtures/db_definitions/sqlite2.drop.sql
243
- - test/fixtures/db_definitions/sqlite2.sql
244
- - test/fixtures/db_definitions/sqlserver.drop.sql
245
- - test/fixtures/db_definitions/sqlserver.sql
246
- - test/fixtures/db_definitions/sqlserver2.drop.sql
247
- - test/fixtures/db_definitions/sqlserver2.sql
248
- - test/fixtures/developers_projects/david_action_controller
249
- - test/fixtures/developers_projects/david_active_record
250
- - test/fixtures/developers_projects/jamis_active_record
251
- - test/fixtures/migrations/1_people_have_last_names.rb
252
- - test/fixtures/migrations/2_we_need_reminders.rb
253
- - test/fixtures/migrations/3_innocent_jointable.rb
254
- - test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
255
- - test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
256
- - test/fixtures/migrations_with_duplicate/3_foo.rb
257
- - test/fixtures/migrations_with_duplicate/3_innocent_jointable.rb
258
- - test/fixtures/naked/csv
259
- - test/fixtures/naked/yml
260
- - test/fixtures/naked/csv/accounts.csv
261
- - test/fixtures/naked/yml/accounts.yml
262
- - test/fixtures/naked/yml/companies.yml
263
- - test/fixtures/naked/yml/courses.yml
264
- - test/fixtures/subscribers/first
265
- - test/fixtures/subscribers/second
266
- - examples/associations.png
267
- - examples/associations.rb
268
- - examples/shared_setup.rb
269
- - examples/validation.rb
31
+ - rakefile
32
+ - install.rb
33
+ - README
34
+ - RUNNING_UNIT_TESTS
35
+ - CHANGELOG
36
+ - lib/active_record
37
+ - lib/active_record.rb
38
+ - lib/active_record/acts
39
+ - lib/active_record/aggregations.rb
40
+ - lib/active_record/associations
41
+ - lib/active_record/associations.rb
42
+ - lib/active_record/base.rb
43
+ - lib/active_record/calculations.rb
44
+ - lib/active_record/callbacks.rb
45
+ - lib/active_record/connection_adapters
46
+ - lib/active_record/deprecated_associations.rb
47
+ - lib/active_record/deprecated_finders.rb
48
+ - lib/active_record/fixtures.rb
49
+ - lib/active_record/locking.rb
50
+ - lib/active_record/migration.rb
51
+ - lib/active_record/observer.rb
52
+ - lib/active_record/query_cache.rb
53
+ - lib/active_record/reflection.rb
54
+ - lib/active_record/schema.rb
55
+ - lib/active_record/schema_dumper.rb
56
+ - lib/active_record/timestamp.rb
57
+ - lib/active_record/transactions.rb
58
+ - lib/active_record/validations.rb
59
+ - lib/active_record/vendor
60
+ - lib/active_record/version.rb
61
+ - lib/active_record/wrappers
62
+ - lib/active_record/wrappings.rb
63
+ - lib/active_record/acts/list.rb
64
+ - lib/active_record/acts/nested_set.rb
65
+ - lib/active_record/acts/tree.rb
66
+ - lib/active_record/associations/association_collection.rb
67
+ - lib/active_record/associations/association_proxy.rb
68
+ - lib/active_record/associations/belongs_to_association.rb
69
+ - lib/active_record/associations/belongs_to_polymorphic_association.rb
70
+ - lib/active_record/associations/has_and_belongs_to_many_association.rb
71
+ - lib/active_record/associations/has_many_association.rb
72
+ - lib/active_record/associations/has_many_through_association.rb
73
+ - lib/active_record/associations/has_one_association.rb
74
+ - lib/active_record/connection_adapters/abstract
75
+ - lib/active_record/connection_adapters/abstract_adapter.rb
76
+ - lib/active_record/connection_adapters/db2_adapter.rb
77
+ - lib/active_record/connection_adapters/firebird_adapter.rb
78
+ - lib/active_record/connection_adapters/mysql_adapter.rb
79
+ - lib/active_record/connection_adapters/openbase_adapter.rb
80
+ - lib/active_record/connection_adapters/oracle_adapter.rb
81
+ - lib/active_record/connection_adapters/postgresql_adapter.rb
82
+ - lib/active_record/connection_adapters/sqlite_adapter.rb
83
+ - lib/active_record/connection_adapters/sqlserver_adapter.rb
84
+ - lib/active_record/connection_adapters/sybase_adapter.rb
85
+ - lib/active_record/connection_adapters/abstract/connection_specification.rb
86
+ - lib/active_record/connection_adapters/abstract/database_statements.rb
87
+ - lib/active_record/connection_adapters/abstract/quoting.rb
88
+ - lib/active_record/connection_adapters/abstract/schema_definitions.rb
89
+ - lib/active_record/connection_adapters/abstract/schema_statements.rb
90
+ - lib/active_record/vendor/db2.rb
91
+ - lib/active_record/vendor/mysql.rb
92
+ - lib/active_record/vendor/simple.rb
93
+ - lib/active_record/wrappers/yaml_wrapper.rb
94
+ - test/aaa_create_tables_test.rb
95
+ - test/abstract_unit.rb
96
+ - test/active_schema_mysql.rb
97
+ - test/adapter_test.rb
98
+ - test/aggregations_test.rb
99
+ - test/all.sh
100
+ - test/ar_schema_test.rb
101
+ - test/association_callbacks_test.rb
102
+ - test/association_inheritance_reload.rb
103
+ - test/associations_cascaded_eager_loading_test.rb
104
+ - test/associations_extensions_test.rb
105
+ - test/associations_go_eager_test.rb
106
+ - test/associations_join_model_test.rb
107
+ - test/associations_test.rb
108
+ - test/base_test.rb
109
+ - test/binary_test.rb
110
+ - test/calculations_test.rb
111
+ - test/callbacks_test.rb
112
+ - test/class_inheritable_attributes_test.rb
113
+ - test/column_alias_test.rb
114
+ - test/connections
115
+ - test/copy_table_sqlite.rb
116
+ - test/default_test_firebird.rb
117
+ - test/defaults_test.rb
118
+ - test/deprecated_associations_test.rb
119
+ - test/deprecated_finder_test.rb
120
+ - test/finder_test.rb
121
+ - test/fixtures
122
+ - test/fixtures_test.rb
123
+ - test/inheritance_test.rb
124
+ - test/lifecycle_test.rb
125
+ - test/locking_test.rb
126
+ - test/method_scoping_test.rb
127
+ - test/migration_test.rb
128
+ - test/mixin_nested_set_test.rb
129
+ - test/mixin_test.rb
130
+ - test/modules_test.rb
131
+ - test/multiple_db_test.rb
132
+ - test/pk_test.rb
133
+ - test/readonly_test.rb
134
+ - test/reflection_test.rb
135
+ - test/schema_dumper_test.rb
136
+ - test/schema_test_postgresql.rb
137
+ - test/synonym_test_oracle.rb
138
+ - test/threaded_connections_test.rb
139
+ - test/transactions_test.rb
140
+ - test/unconnected_test.rb
141
+ - test/validations_test.rb
142
+ - test/connections/native_db2
143
+ - test/connections/native_firebird
144
+ - test/connections/native_mysql
145
+ - test/connections/native_openbase
146
+ - test/connections/native_oracle
147
+ - test/connections/native_postgresql
148
+ - test/connections/native_sqlite
149
+ - test/connections/native_sqlite3
150
+ - test/connections/native_sqlserver
151
+ - test/connections/native_sqlserver_odbc
152
+ - test/connections/native_sybase
153
+ - test/connections/native_db2/connection.rb
154
+ - test/connections/native_firebird/connection.rb
155
+ - test/connections/native_mysql/connection.rb
156
+ - test/connections/native_openbase/connection.rb
157
+ - test/connections/native_oracle/connection.rb
158
+ - test/connections/native_postgresql/connection.rb
159
+ - test/connections/native_sqlite/connection.rb
160
+ - test/connections/native_sqlite3/connection.rb
161
+ - test/connections/native_sqlite3/in_memory_connection.rb
162
+ - test/connections/native_sqlserver/connection.rb
163
+ - test/connections/native_sqlserver_odbc/connection.rb
164
+ - test/connections/native_sybase/connection.rb
165
+ - test/fixtures/accounts.yml
166
+ - test/fixtures/author.rb
167
+ - test/fixtures/author_favorites.yml
168
+ - test/fixtures/authors.yml
169
+ - test/fixtures/auto_id.rb
170
+ - test/fixtures/bad_fixtures
171
+ - test/fixtures/binary.rb
172
+ - test/fixtures/categories
173
+ - test/fixtures/categories.yml
174
+ - test/fixtures/categories_ordered.yml
175
+ - test/fixtures/categories_posts.yml
176
+ - test/fixtures/categorization.rb
177
+ - test/fixtures/categorizations.yml
178
+ - test/fixtures/category.rb
179
+ - test/fixtures/column_name.rb
180
+ - test/fixtures/comment.rb
181
+ - test/fixtures/comments.yml
182
+ - test/fixtures/companies.yml
183
+ - test/fixtures/company.rb
184
+ - test/fixtures/company_in_module.rb
185
+ - test/fixtures/computer.rb
186
+ - test/fixtures/computers.yml
187
+ - test/fixtures/course.rb
188
+ - test/fixtures/courses.yml
189
+ - test/fixtures/customer.rb
190
+ - test/fixtures/customers.yml
191
+ - test/fixtures/db_definitions
192
+ - test/fixtures/default.rb
193
+ - test/fixtures/developer.rb
194
+ - test/fixtures/developers.yml
195
+ - test/fixtures/developers_projects
196
+ - test/fixtures/developers_projects.yml
197
+ - test/fixtures/entrant.rb
198
+ - test/fixtures/entrants.yml
199
+ - test/fixtures/fk_test_has_fk.yml
200
+ - test/fixtures/fk_test_has_pk.yml
201
+ - test/fixtures/flowers.jpg
202
+ - test/fixtures/funny_jokes.yml
203
+ - test/fixtures/joke.rb
204
+ - test/fixtures/keyboard.rb
205
+ - test/fixtures/legacy_thing.rb
206
+ - test/fixtures/legacy_things.yml
207
+ - test/fixtures/migrations
208
+ - test/fixtures/migrations_with_duplicate
209
+ - test/fixtures/mixin.rb
210
+ - test/fixtures/mixins.yml
211
+ - test/fixtures/movie.rb
212
+ - test/fixtures/movies.yml
213
+ - test/fixtures/naked
214
+ - test/fixtures/order.rb
215
+ - test/fixtures/people.yml
216
+ - test/fixtures/person.rb
217
+ - test/fixtures/post.rb
218
+ - test/fixtures/posts.yml
219
+ - test/fixtures/project.rb
220
+ - test/fixtures/projects.yml
221
+ - test/fixtures/reader.rb
222
+ - test/fixtures/readers.yml
223
+ - test/fixtures/reply.rb
224
+ - test/fixtures/subject.rb
225
+ - test/fixtures/subscriber.rb
226
+ - test/fixtures/subscribers
227
+ - test/fixtures/tag.rb
228
+ - test/fixtures/tagging.rb
229
+ - test/fixtures/taggings.yml
230
+ - test/fixtures/tags.yml
231
+ - test/fixtures/task.rb
232
+ - test/fixtures/tasks.yml
233
+ - test/fixtures/topic.rb
234
+ - test/fixtures/topics.yml
235
+ - test/fixtures/bad_fixtures/attr_with_numeric_first_char
236
+ - test/fixtures/bad_fixtures/attr_with_spaces
237
+ - test/fixtures/bad_fixtures/blank_line
238
+ - test/fixtures/bad_fixtures/duplicate_attributes
239
+ - test/fixtures/bad_fixtures/missing_value
240
+ - test/fixtures/categories/special_categories.yml
241
+ - test/fixtures/categories/subsubdir
242
+ - test/fixtures/categories/subsubdir/arbitrary_filename.yml
243
+ - test/fixtures/db_definitions/db2.drop.sql
244
+ - test/fixtures/db_definitions/db2.sql
245
+ - test/fixtures/db_definitions/db22.drop.sql
246
+ - test/fixtures/db_definitions/db22.sql
247
+ - test/fixtures/db_definitions/firebird.drop.sql
248
+ - test/fixtures/db_definitions/firebird.sql
249
+ - test/fixtures/db_definitions/firebird2.drop.sql
250
+ - test/fixtures/db_definitions/firebird2.sql
251
+ - test/fixtures/db_definitions/mysql.drop.sql
252
+ - test/fixtures/db_definitions/mysql.sql
253
+ - test/fixtures/db_definitions/mysql2.drop.sql
254
+ - test/fixtures/db_definitions/mysql2.sql
255
+ - test/fixtures/db_definitions/openbase.drop.sql
256
+ - test/fixtures/db_definitions/openbase.sql
257
+ - test/fixtures/db_definitions/openbase2.drop.sql
258
+ - test/fixtures/db_definitions/openbase2.sql
259
+ - test/fixtures/db_definitions/oracle.drop.sql
260
+ - test/fixtures/db_definitions/oracle.sql
261
+ - test/fixtures/db_definitions/oracle2.drop.sql
262
+ - test/fixtures/db_definitions/oracle2.sql
263
+ - test/fixtures/db_definitions/postgresql.drop.sql
264
+ - test/fixtures/db_definitions/postgresql.sql
265
+ - test/fixtures/db_definitions/postgresql2.drop.sql
266
+ - test/fixtures/db_definitions/postgresql2.sql
267
+ - test/fixtures/db_definitions/schema.rb
268
+ - test/fixtures/db_definitions/sqlite.drop.sql
269
+ - test/fixtures/db_definitions/sqlite.sql
270
+ - test/fixtures/db_definitions/sqlite2.drop.sql
271
+ - test/fixtures/db_definitions/sqlite2.sql
272
+ - test/fixtures/db_definitions/sqlserver.drop.sql
273
+ - test/fixtures/db_definitions/sqlserver.sql
274
+ - test/fixtures/db_definitions/sqlserver2.drop.sql
275
+ - test/fixtures/db_definitions/sqlserver2.sql
276
+ - test/fixtures/db_definitions/sybase.drop.sql
277
+ - test/fixtures/db_definitions/sybase.sql
278
+ - test/fixtures/db_definitions/sybase2.drop.sql
279
+ - test/fixtures/db_definitions/sybase2.sql
280
+ - test/fixtures/developers_projects/david_action_controller
281
+ - test/fixtures/developers_projects/david_active_record
282
+ - test/fixtures/developers_projects/jamis_active_record
283
+ - test/fixtures/migrations/1_people_have_last_names.rb
284
+ - test/fixtures/migrations/2_we_need_reminders.rb
285
+ - test/fixtures/migrations/3_innocent_jointable.rb
286
+ - test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
287
+ - test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
288
+ - test/fixtures/migrations_with_duplicate/3_foo.rb
289
+ - test/fixtures/migrations_with_duplicate/3_innocent_jointable.rb
290
+ - test/fixtures/naked/csv
291
+ - test/fixtures/naked/yml
292
+ - test/fixtures/naked/csv/accounts.csv
293
+ - test/fixtures/naked/yml/accounts.yml
294
+ - test/fixtures/naked/yml/companies.yml
295
+ - test/fixtures/naked/yml/courses.yml
296
+ - test/fixtures/subscribers/first
297
+ - test/fixtures/subscribers/second
298
+ - examples/associations.png
299
+ - examples/associations.rb
300
+ - examples/shared_setup.rb
301
+ - examples/validation.rb
270
302
  test_files: []
303
+
271
304
  rdoc_options:
272
- - "--main"
273
- - README
305
+ - --main
306
+ - README
274
307
  extra_rdoc_files:
275
- - README
308
+ - README
276
309
  executables: []
310
+
277
311
  extensions: []
312
+
278
313
  requirements: []
314
+
279
315
  dependencies:
280
- - !ruby/object:Gem::Dependency
281
- name: activesupport
282
- version_requirement:
283
- version_requirements: !ruby/object:Gem::Version::Requirement
284
- requirements:
285
- -
286
- - "="
287
- - !ruby/object:Gem::Version
288
- version: 1.2.5
289
- version:
316
+ - !ruby/object:Gem::Dependency
317
+ name: activesupport
318
+ version_requirement:
319
+ version_requirements: !ruby/object:Gem::Version::Requirement
320
+ requirements:
321
+ - - "="
322
+ - !ruby/object:Gem::Version
323
+ version: 1.3.0
324
+ version: