activerecord 1.0.0 → 4.0.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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +2102 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +213 -0
- data/examples/performance.rb +172 -0
- data/examples/simple.rb +14 -0
- data/lib/active_record/aggregations.rb +180 -84
- data/lib/active_record/associations/alias_tracker.rb +76 -0
- data/lib/active_record/associations/association.rb +248 -0
- data/lib/active_record/associations/association_scope.rb +135 -0
- data/lib/active_record/associations/belongs_to_association.rb +92 -0
- data/lib/active_record/associations/belongs_to_polymorphic_association.rb +35 -0
- data/lib/active_record/associations/builder/association.rb +108 -0
- data/lib/active_record/associations/builder/belongs_to.rb +98 -0
- data/lib/active_record/associations/builder/collection_association.rb +89 -0
- data/lib/active_record/associations/builder/has_and_belongs_to_many.rb +39 -0
- data/lib/active_record/associations/builder/has_many.rb +15 -0
- data/lib/active_record/associations/builder/has_one.rb +25 -0
- data/lib/active_record/associations/builder/singular_association.rb +32 -0
- data/lib/active_record/associations/collection_association.rb +608 -0
- data/lib/active_record/associations/collection_proxy.rb +986 -0
- data/lib/active_record/associations/has_and_belongs_to_many_association.rb +58 -39
- data/lib/active_record/associations/has_many_association.rb +116 -85
- data/lib/active_record/associations/has_many_through_association.rb +197 -0
- data/lib/active_record/associations/has_one_association.rb +102 -0
- data/lib/active_record/associations/has_one_through_association.rb +36 -0
- data/lib/active_record/associations/join_dependency/join_association.rb +174 -0
- data/lib/active_record/associations/join_dependency/join_base.rb +24 -0
- data/lib/active_record/associations/join_dependency/join_part.rb +78 -0
- data/lib/active_record/associations/join_dependency.rb +235 -0
- data/lib/active_record/associations/join_helper.rb +45 -0
- data/lib/active_record/associations/preloader/association.rb +121 -0
- data/lib/active_record/associations/preloader/belongs_to.rb +17 -0
- data/lib/active_record/associations/preloader/collection_association.rb +24 -0
- data/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +60 -0
- data/lib/active_record/associations/preloader/has_many.rb +17 -0
- data/lib/active_record/associations/preloader/has_many_through.rb +19 -0
- data/lib/active_record/associations/preloader/has_one.rb +23 -0
- data/lib/active_record/associations/preloader/has_one_through.rb +9 -0
- data/lib/active_record/associations/preloader/singular_association.rb +21 -0
- data/lib/active_record/associations/preloader/through_association.rb +63 -0
- data/lib/active_record/associations/preloader.rb +178 -0
- data/lib/active_record/associations/singular_association.rb +64 -0
- data/lib/active_record/associations/through_association.rb +87 -0
- data/lib/active_record/associations.rb +1437 -431
- data/lib/active_record/attribute_assignment.rb +201 -0
- data/lib/active_record/attribute_methods/before_type_cast.rb +70 -0
- data/lib/active_record/attribute_methods/dirty.rb +118 -0
- data/lib/active_record/attribute_methods/primary_key.rb +122 -0
- data/lib/active_record/attribute_methods/query.rb +40 -0
- data/lib/active_record/attribute_methods/read.rb +107 -0
- data/lib/active_record/attribute_methods/serialization.rb +162 -0
- data/lib/active_record/attribute_methods/time_zone_conversion.rb +59 -0
- data/lib/active_record/attribute_methods/write.rb +63 -0
- data/lib/active_record/attribute_methods.rb +393 -0
- data/lib/active_record/autosave_association.rb +426 -0
- data/lib/active_record/base.rb +268 -930
- data/lib/active_record/callbacks.rb +203 -230
- data/lib/active_record/coders/yaml_column.rb +38 -0
- data/lib/active_record/connection_adapters/abstract/connection_pool.rb +638 -0
- data/lib/active_record/connection_adapters/abstract/database_limits.rb +67 -0
- data/lib/active_record/connection_adapters/abstract/database_statements.rb +390 -0
- data/lib/active_record/connection_adapters/abstract/query_cache.rb +95 -0
- data/lib/active_record/connection_adapters/abstract/quoting.rb +129 -0
- data/lib/active_record/connection_adapters/abstract/schema_definitions.rb +501 -0
- data/lib/active_record/connection_adapters/abstract/schema_dumper.rb +70 -0
- data/lib/active_record/connection_adapters/abstract/schema_statements.rb +873 -0
- data/lib/active_record/connection_adapters/abstract/transaction.rb +203 -0
- data/lib/active_record/connection_adapters/abstract_adapter.rb +389 -275
- data/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +782 -0
- data/lib/active_record/connection_adapters/column.rb +318 -0
- data/lib/active_record/connection_adapters/connection_specification.rb +96 -0
- data/lib/active_record/connection_adapters/mysql2_adapter.rb +273 -0
- data/lib/active_record/connection_adapters/mysql_adapter.rb +517 -90
- data/lib/active_record/connection_adapters/postgresql/array_parser.rb +97 -0
- data/lib/active_record/connection_adapters/postgresql/cast.rb +152 -0
- data/lib/active_record/connection_adapters/postgresql/database_statements.rb +242 -0
- data/lib/active_record/connection_adapters/postgresql/oid.rb +366 -0
- data/lib/active_record/connection_adapters/postgresql/quoting.rb +171 -0
- data/lib/active_record/connection_adapters/postgresql/referential_integrity.rb +30 -0
- data/lib/active_record/connection_adapters/postgresql/schema_statements.rb +489 -0
- data/lib/active_record/connection_adapters/postgresql_adapter.rb +911 -138
- data/lib/active_record/connection_adapters/schema_cache.rb +129 -0
- data/lib/active_record/connection_adapters/sqlite3_adapter.rb +624 -0
- data/lib/active_record/connection_adapters/statement_pool.rb +40 -0
- data/lib/active_record/connection_handling.rb +98 -0
- data/lib/active_record/core.rb +463 -0
- data/lib/active_record/counter_cache.rb +122 -0
- data/lib/active_record/dynamic_matchers.rb +131 -0
- data/lib/active_record/errors.rb +213 -0
- data/lib/active_record/explain.rb +38 -0
- data/lib/active_record/explain_registry.rb +30 -0
- data/lib/active_record/explain_subscriber.rb +29 -0
- data/lib/active_record/fixture_set/file.rb +55 -0
- data/lib/active_record/fixtures.rb +892 -138
- data/lib/active_record/inheritance.rb +200 -0
- data/lib/active_record/integration.rb +60 -0
- data/lib/active_record/locale/en.yml +47 -0
- data/lib/active_record/locking/optimistic.rb +181 -0
- data/lib/active_record/locking/pessimistic.rb +77 -0
- data/lib/active_record/log_subscriber.rb +82 -0
- data/lib/active_record/migration/command_recorder.rb +164 -0
- data/lib/active_record/migration/join_table.rb +15 -0
- data/lib/active_record/migration.rb +1015 -0
- data/lib/active_record/model_schema.rb +345 -0
- data/lib/active_record/nested_attributes.rb +546 -0
- data/lib/active_record/null_relation.rb +65 -0
- data/lib/active_record/persistence.rb +509 -0
- data/lib/active_record/query_cache.rb +56 -0
- data/lib/active_record/querying.rb +62 -0
- data/lib/active_record/railtie.rb +205 -0
- data/lib/active_record/railties/console_sandbox.rb +5 -0
- data/lib/active_record/railties/controller_runtime.rb +50 -0
- data/lib/active_record/railties/databases.rake +402 -0
- data/lib/active_record/railties/jdbcmysql_error.rb +16 -0
- data/lib/active_record/readonly_attributes.rb +30 -0
- data/lib/active_record/reflection.rb +544 -87
- data/lib/active_record/relation/batches.rb +93 -0
- data/lib/active_record/relation/calculations.rb +399 -0
- data/lib/active_record/relation/delegation.rb +125 -0
- data/lib/active_record/relation/finder_methods.rb +349 -0
- data/lib/active_record/relation/merger.rb +161 -0
- data/lib/active_record/relation/predicate_builder.rb +106 -0
- data/lib/active_record/relation/query_methods.rb +1044 -0
- data/lib/active_record/relation/spawn_methods.rb +73 -0
- data/lib/active_record/relation.rb +655 -0
- data/lib/active_record/result.rb +67 -0
- data/lib/active_record/runtime_registry.rb +17 -0
- data/lib/active_record/sanitization.rb +168 -0
- data/lib/active_record/schema.rb +65 -0
- data/lib/active_record/schema_dumper.rb +204 -0
- data/lib/active_record/schema_migration.rb +39 -0
- data/lib/active_record/scoping/default.rb +146 -0
- data/lib/active_record/scoping/named.rb +175 -0
- data/lib/active_record/scoping.rb +82 -0
- data/lib/active_record/serialization.rb +22 -0
- data/lib/active_record/serializers/xml_serializer.rb +197 -0
- data/lib/active_record/statement_cache.rb +26 -0
- data/lib/active_record/store.rb +156 -0
- data/lib/active_record/tasks/database_tasks.rb +203 -0
- data/lib/active_record/tasks/firebird_database_tasks.rb +56 -0
- data/lib/active_record/tasks/mysql_database_tasks.rb +143 -0
- data/lib/active_record/tasks/oracle_database_tasks.rb +45 -0
- data/lib/active_record/tasks/postgresql_database_tasks.rb +90 -0
- data/lib/active_record/tasks/sqlite_database_tasks.rb +51 -0
- data/lib/active_record/tasks/sqlserver_database_tasks.rb +48 -0
- data/lib/active_record/test_case.rb +96 -0
- data/lib/active_record/timestamp.rb +119 -0
- data/lib/active_record/transactions.rb +366 -69
- data/lib/active_record/translation.rb +22 -0
- data/lib/active_record/validations/associated.rb +49 -0
- data/lib/active_record/validations/presence.rb +65 -0
- data/lib/active_record/validations/uniqueness.rb +225 -0
- data/lib/active_record/validations.rb +64 -185
- data/lib/active_record/version.rb +11 -0
- data/lib/active_record.rb +149 -24
- data/lib/rails/generators/active_record/migration/migration_generator.rb +62 -0
- data/lib/rails/generators/active_record/migration/templates/create_table_migration.rb +19 -0
- data/lib/rails/generators/active_record/migration/templates/migration.rb +39 -0
- data/lib/rails/generators/active_record/model/model_generator.rb +48 -0
- data/lib/rails/generators/active_record/model/templates/model.rb +10 -0
- data/lib/rails/generators/active_record/model/templates/module.rb +7 -0
- data/lib/rails/generators/active_record.rb +23 -0
- metadata +261 -161
- data/CHANGELOG +0 -581
- data/README +0 -361
- data/RUNNING_UNIT_TESTS +0 -36
- data/dev-utils/eval_debugger.rb +0 -9
- data/examples/associations.png +0 -0
- data/examples/associations.rb +0 -87
- data/examples/shared_setup.rb +0 -15
- data/examples/validation.rb +0 -88
- data/install.rb +0 -60
- data/lib/active_record/associations/association_collection.rb +0 -70
- data/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -107
- data/lib/active_record/deprecated_associations.rb +0 -70
- data/lib/active_record/observer.rb +0 -71
- data/lib/active_record/support/class_attribute_accessors.rb +0 -43
- data/lib/active_record/support/class_inheritable_attributes.rb +0 -37
- data/lib/active_record/support/clean_logger.rb +0 -10
- data/lib/active_record/support/inflector.rb +0 -70
- data/lib/active_record/vendor/mysql.rb +0 -1117
- data/lib/active_record/vendor/simple.rb +0 -702
- data/lib/active_record/wrappers/yaml_wrapper.rb +0 -15
- data/lib/active_record/wrappings.rb +0 -59
- data/rakefile +0 -122
- data/test/abstract_unit.rb +0 -16
- data/test/aggregations_test.rb +0 -34
- data/test/all.sh +0 -8
- data/test/associations_test.rb +0 -477
- data/test/base_test.rb +0 -513
- data/test/class_inheritable_attributes_test.rb +0 -33
- data/test/connections/native_mysql/connection.rb +0 -24
- data/test/connections/native_postgresql/connection.rb +0 -24
- data/test/connections/native_sqlite/connection.rb +0 -24
- data/test/deprecated_associations_test.rb +0 -336
- data/test/finder_test.rb +0 -67
- data/test/fixtures/accounts/signals37 +0 -3
- data/test/fixtures/accounts/unknown +0 -2
- data/test/fixtures/auto_id.rb +0 -4
- data/test/fixtures/column_name.rb +0 -3
- data/test/fixtures/companies/first_client +0 -6
- data/test/fixtures/companies/first_firm +0 -4
- data/test/fixtures/companies/second_client +0 -6
- data/test/fixtures/company.rb +0 -37
- data/test/fixtures/company_in_module.rb +0 -33
- data/test/fixtures/course.rb +0 -3
- data/test/fixtures/courses/java +0 -2
- data/test/fixtures/courses/ruby +0 -2
- data/test/fixtures/customer.rb +0 -30
- data/test/fixtures/customers/david +0 -6
- data/test/fixtures/db_definitions/mysql.sql +0 -96
- data/test/fixtures/db_definitions/mysql2.sql +0 -4
- data/test/fixtures/db_definitions/postgresql.sql +0 -113
- data/test/fixtures/db_definitions/postgresql2.sql +0 -4
- data/test/fixtures/db_definitions/sqlite.sql +0 -85
- data/test/fixtures/db_definitions/sqlite2.sql +0 -4
- data/test/fixtures/default.rb +0 -2
- data/test/fixtures/developer.rb +0 -8
- data/test/fixtures/developers/david +0 -2
- data/test/fixtures/developers/jamis +0 -2
- data/test/fixtures/developers_projects/david_action_controller +0 -2
- data/test/fixtures/developers_projects/david_active_record +0 -2
- data/test/fixtures/developers_projects/jamis_active_record +0 -2
- data/test/fixtures/entrant.rb +0 -3
- data/test/fixtures/entrants/first +0 -3
- data/test/fixtures/entrants/second +0 -3
- data/test/fixtures/entrants/third +0 -3
- data/test/fixtures/fixture_database.sqlite +0 -0
- data/test/fixtures/fixture_database_2.sqlite +0 -0
- data/test/fixtures/movie.rb +0 -5
- data/test/fixtures/movies/first +0 -2
- data/test/fixtures/movies/second +0 -2
- data/test/fixtures/project.rb +0 -3
- data/test/fixtures/projects/action_controller +0 -2
- data/test/fixtures/projects/active_record +0 -2
- data/test/fixtures/reply.rb +0 -21
- data/test/fixtures/subscriber.rb +0 -5
- data/test/fixtures/subscribers/first +0 -2
- data/test/fixtures/subscribers/second +0 -2
- data/test/fixtures/topic.rb +0 -20
- data/test/fixtures/topics/first +0 -9
- data/test/fixtures/topics/second +0 -8
- data/test/fixtures_test.rb +0 -20
- data/test/inflector_test.rb +0 -104
- data/test/inheritance_test.rb +0 -125
- data/test/lifecycle_test.rb +0 -110
- data/test/modules_test.rb +0 -21
- data/test/multiple_db_test.rb +0 -46
- data/test/pk_test.rb +0 -57
- data/test/reflection_test.rb +0 -78
- data/test/thread_safety_test.rb +0 -33
- data/test/transactions_test.rb +0 -83
- data/test/unconnected_test.rb +0 -24
- data/test/validations_test.rb +0 -126
metadata
CHANGED
@@ -1,166 +1,266 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.1
|
3
|
-
specification_version: 1
|
1
|
+
--- !ruby/object:Gem::Specification
|
4
2
|
name: activerecord
|
5
|
-
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
7
|
-
date: 2004-10-25
|
8
|
-
summary: Implements the ActiveRecord pattern for ORM.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
author: David Heinemeier Hansson
|
12
|
-
email: david@loudthinking.com
|
13
|
-
homepage: http://activerecord.rubyonrails.org
|
14
|
-
rubyforge_project: activerecord
|
15
|
-
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."
|
16
|
-
autorequire: active_record
|
17
|
-
default_executable:
|
18
|
-
bindir: bin
|
19
|
-
has_rdoc: true
|
20
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
-
requirements:
|
22
|
-
-
|
23
|
-
- ">"
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: 0.0.0
|
26
|
-
version:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.0.0
|
27
5
|
platform: ruby
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
-
|
94
|
-
|
95
|
-
- test/fixtures/auto_id.rb
|
96
|
-
- test/fixtures/column_name.rb
|
97
|
-
- test/fixtures/companies
|
98
|
-
- test/fixtures/company.rb
|
99
|
-
- test/fixtures/company_in_module.rb
|
100
|
-
- test/fixtures/course.rb
|
101
|
-
- test/fixtures/courses
|
102
|
-
- test/fixtures/customer.rb
|
103
|
-
- test/fixtures/customers
|
104
|
-
- test/fixtures/db_definitions
|
105
|
-
- test/fixtures/default.rb
|
106
|
-
- test/fixtures/developer.rb
|
107
|
-
- test/fixtures/developers
|
108
|
-
- test/fixtures/developers_projects
|
109
|
-
- test/fixtures/entrant.rb
|
110
|
-
- test/fixtures/entrants
|
111
|
-
- test/fixtures/fixture_database.sqlite
|
112
|
-
- test/fixtures/fixture_database_2.sqlite
|
113
|
-
- test/fixtures/movie.rb
|
114
|
-
- test/fixtures/movies
|
115
|
-
- test/fixtures/project.rb
|
116
|
-
- test/fixtures/projects
|
117
|
-
- test/fixtures/reply.rb
|
118
|
-
- test/fixtures/subscriber.rb
|
119
|
-
- test/fixtures/subscribers
|
120
|
-
- test/fixtures/topic.rb
|
121
|
-
- test/fixtures/topics
|
122
|
-
- test/fixtures/accounts/signals37
|
123
|
-
- test/fixtures/accounts/unknown
|
124
|
-
- test/fixtures/companies/first_client
|
125
|
-
- test/fixtures/companies/first_firm
|
126
|
-
- test/fixtures/companies/second_client
|
127
|
-
- test/fixtures/courses/java
|
128
|
-
- test/fixtures/courses/ruby
|
129
|
-
- test/fixtures/customers/david
|
130
|
-
- test/fixtures/db_definitions/mysql.sql
|
131
|
-
- test/fixtures/db_definitions/mysql2.sql
|
132
|
-
- test/fixtures/db_definitions/postgresql.sql
|
133
|
-
- test/fixtures/db_definitions/postgresql2.sql
|
134
|
-
- test/fixtures/db_definitions/sqlite.sql
|
135
|
-
- test/fixtures/db_definitions/sqlite2.sql
|
136
|
-
- test/fixtures/developers/david
|
137
|
-
- test/fixtures/developers/jamis
|
138
|
-
- test/fixtures/developers_projects/david_action_controller
|
139
|
-
- test/fixtures/developers_projects/david_active_record
|
140
|
-
- test/fixtures/developers_projects/jamis_active_record
|
141
|
-
- test/fixtures/entrants/first
|
142
|
-
- test/fixtures/entrants/second
|
143
|
-
- test/fixtures/entrants/third
|
144
|
-
- test/fixtures/movies/first
|
145
|
-
- test/fixtures/movies/second
|
146
|
-
- test/fixtures/projects/action_controller
|
147
|
-
- test/fixtures/projects/active_record
|
148
|
-
- test/fixtures/subscribers/first
|
149
|
-
- test/fixtures/subscribers/second
|
150
|
-
- test/fixtures/topics/first
|
151
|
-
- test/fixtures/topics/second
|
152
|
-
- examples/associations.png
|
153
|
-
- examples/associations.rb
|
154
|
-
- examples/shared_setup.rb
|
155
|
-
- examples/validation.rb
|
156
|
-
- dev-utils/eval_debugger.rb
|
157
|
-
test_files: []
|
158
|
-
rdoc_options:
|
159
|
-
- "--main"
|
160
|
-
- README
|
161
|
-
extra_rdoc_files:
|
162
|
-
- README
|
6
|
+
authors:
|
7
|
+
- David Heinemeier Hansson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activemodel
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: arel
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activerecord-deprecated_finders
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.2
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.2
|
69
|
+
description: Databases on Rails. Build a persistent domain model by mapping database
|
70
|
+
tables to Ruby classes. Strong conventions for associations, validations, aggregations,
|
71
|
+
migrations, and testing come baked-in.
|
72
|
+
email: david@loudthinking.com
|
163
73
|
executables: []
|
164
74
|
extensions: []
|
75
|
+
extra_rdoc_files:
|
76
|
+
- README.rdoc
|
77
|
+
files:
|
78
|
+
- CHANGELOG.md
|
79
|
+
- MIT-LICENSE
|
80
|
+
- README.rdoc
|
81
|
+
- examples/performance.rb
|
82
|
+
- examples/simple.rb
|
83
|
+
- lib/active_record/aggregations.rb
|
84
|
+
- lib/active_record/associations/alias_tracker.rb
|
85
|
+
- lib/active_record/associations/association.rb
|
86
|
+
- lib/active_record/associations/association_scope.rb
|
87
|
+
- lib/active_record/associations/belongs_to_association.rb
|
88
|
+
- lib/active_record/associations/belongs_to_polymorphic_association.rb
|
89
|
+
- lib/active_record/associations/builder/association.rb
|
90
|
+
- lib/active_record/associations/builder/belongs_to.rb
|
91
|
+
- lib/active_record/associations/builder/collection_association.rb
|
92
|
+
- lib/active_record/associations/builder/has_and_belongs_to_many.rb
|
93
|
+
- lib/active_record/associations/builder/has_many.rb
|
94
|
+
- lib/active_record/associations/builder/has_one.rb
|
95
|
+
- lib/active_record/associations/builder/singular_association.rb
|
96
|
+
- lib/active_record/associations/collection_association.rb
|
97
|
+
- lib/active_record/associations/collection_proxy.rb
|
98
|
+
- lib/active_record/associations/has_and_belongs_to_many_association.rb
|
99
|
+
- lib/active_record/associations/has_many_association.rb
|
100
|
+
- lib/active_record/associations/has_many_through_association.rb
|
101
|
+
- lib/active_record/associations/has_one_association.rb
|
102
|
+
- lib/active_record/associations/has_one_through_association.rb
|
103
|
+
- lib/active_record/associations/join_dependency/join_association.rb
|
104
|
+
- lib/active_record/associations/join_dependency/join_base.rb
|
105
|
+
- lib/active_record/associations/join_dependency/join_part.rb
|
106
|
+
- lib/active_record/associations/join_dependency.rb
|
107
|
+
- lib/active_record/associations/join_helper.rb
|
108
|
+
- lib/active_record/associations/preloader/association.rb
|
109
|
+
- lib/active_record/associations/preloader/belongs_to.rb
|
110
|
+
- lib/active_record/associations/preloader/collection_association.rb
|
111
|
+
- lib/active_record/associations/preloader/has_and_belongs_to_many.rb
|
112
|
+
- lib/active_record/associations/preloader/has_many.rb
|
113
|
+
- lib/active_record/associations/preloader/has_many_through.rb
|
114
|
+
- lib/active_record/associations/preloader/has_one.rb
|
115
|
+
- lib/active_record/associations/preloader/has_one_through.rb
|
116
|
+
- lib/active_record/associations/preloader/singular_association.rb
|
117
|
+
- lib/active_record/associations/preloader/through_association.rb
|
118
|
+
- lib/active_record/associations/preloader.rb
|
119
|
+
- lib/active_record/associations/singular_association.rb
|
120
|
+
- lib/active_record/associations/through_association.rb
|
121
|
+
- lib/active_record/associations.rb
|
122
|
+
- lib/active_record/attribute_assignment.rb
|
123
|
+
- lib/active_record/attribute_methods/before_type_cast.rb
|
124
|
+
- lib/active_record/attribute_methods/dirty.rb
|
125
|
+
- lib/active_record/attribute_methods/primary_key.rb
|
126
|
+
- lib/active_record/attribute_methods/query.rb
|
127
|
+
- lib/active_record/attribute_methods/read.rb
|
128
|
+
- lib/active_record/attribute_methods/serialization.rb
|
129
|
+
- lib/active_record/attribute_methods/time_zone_conversion.rb
|
130
|
+
- lib/active_record/attribute_methods/write.rb
|
131
|
+
- lib/active_record/attribute_methods.rb
|
132
|
+
- lib/active_record/autosave_association.rb
|
133
|
+
- lib/active_record/base.rb
|
134
|
+
- lib/active_record/callbacks.rb
|
135
|
+
- lib/active_record/coders/yaml_column.rb
|
136
|
+
- lib/active_record/connection_adapters/abstract/connection_pool.rb
|
137
|
+
- lib/active_record/connection_adapters/abstract/database_limits.rb
|
138
|
+
- lib/active_record/connection_adapters/abstract/database_statements.rb
|
139
|
+
- lib/active_record/connection_adapters/abstract/query_cache.rb
|
140
|
+
- lib/active_record/connection_adapters/abstract/quoting.rb
|
141
|
+
- lib/active_record/connection_adapters/abstract/schema_definitions.rb
|
142
|
+
- lib/active_record/connection_adapters/abstract/schema_dumper.rb
|
143
|
+
- lib/active_record/connection_adapters/abstract/schema_statements.rb
|
144
|
+
- lib/active_record/connection_adapters/abstract/transaction.rb
|
145
|
+
- lib/active_record/connection_adapters/abstract_adapter.rb
|
146
|
+
- lib/active_record/connection_adapters/abstract_mysql_adapter.rb
|
147
|
+
- lib/active_record/connection_adapters/column.rb
|
148
|
+
- lib/active_record/connection_adapters/connection_specification.rb
|
149
|
+
- lib/active_record/connection_adapters/mysql2_adapter.rb
|
150
|
+
- lib/active_record/connection_adapters/mysql_adapter.rb
|
151
|
+
- lib/active_record/connection_adapters/postgresql/array_parser.rb
|
152
|
+
- lib/active_record/connection_adapters/postgresql/cast.rb
|
153
|
+
- lib/active_record/connection_adapters/postgresql/database_statements.rb
|
154
|
+
- lib/active_record/connection_adapters/postgresql/oid.rb
|
155
|
+
- lib/active_record/connection_adapters/postgresql/quoting.rb
|
156
|
+
- lib/active_record/connection_adapters/postgresql/referential_integrity.rb
|
157
|
+
- lib/active_record/connection_adapters/postgresql/schema_statements.rb
|
158
|
+
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
159
|
+
- lib/active_record/connection_adapters/schema_cache.rb
|
160
|
+
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
161
|
+
- lib/active_record/connection_adapters/statement_pool.rb
|
162
|
+
- lib/active_record/connection_handling.rb
|
163
|
+
- lib/active_record/core.rb
|
164
|
+
- lib/active_record/counter_cache.rb
|
165
|
+
- lib/active_record/dynamic_matchers.rb
|
166
|
+
- lib/active_record/errors.rb
|
167
|
+
- lib/active_record/explain.rb
|
168
|
+
- lib/active_record/explain_registry.rb
|
169
|
+
- lib/active_record/explain_subscriber.rb
|
170
|
+
- lib/active_record/fixture_set/file.rb
|
171
|
+
- lib/active_record/fixtures.rb
|
172
|
+
- lib/active_record/inheritance.rb
|
173
|
+
- lib/active_record/integration.rb
|
174
|
+
- lib/active_record/locale/en.yml
|
175
|
+
- lib/active_record/locking/optimistic.rb
|
176
|
+
- lib/active_record/locking/pessimistic.rb
|
177
|
+
- lib/active_record/log_subscriber.rb
|
178
|
+
- lib/active_record/migration/command_recorder.rb
|
179
|
+
- lib/active_record/migration/join_table.rb
|
180
|
+
- lib/active_record/migration.rb
|
181
|
+
- lib/active_record/model_schema.rb
|
182
|
+
- lib/active_record/nested_attributes.rb
|
183
|
+
- lib/active_record/null_relation.rb
|
184
|
+
- lib/active_record/persistence.rb
|
185
|
+
- lib/active_record/query_cache.rb
|
186
|
+
- lib/active_record/querying.rb
|
187
|
+
- lib/active_record/railtie.rb
|
188
|
+
- lib/active_record/railties/console_sandbox.rb
|
189
|
+
- lib/active_record/railties/controller_runtime.rb
|
190
|
+
- lib/active_record/railties/databases.rake
|
191
|
+
- lib/active_record/railties/jdbcmysql_error.rb
|
192
|
+
- lib/active_record/readonly_attributes.rb
|
193
|
+
- lib/active_record/reflection.rb
|
194
|
+
- lib/active_record/relation/batches.rb
|
195
|
+
- lib/active_record/relation/calculations.rb
|
196
|
+
- lib/active_record/relation/delegation.rb
|
197
|
+
- lib/active_record/relation/finder_methods.rb
|
198
|
+
- lib/active_record/relation/merger.rb
|
199
|
+
- lib/active_record/relation/predicate_builder.rb
|
200
|
+
- lib/active_record/relation/query_methods.rb
|
201
|
+
- lib/active_record/relation/spawn_methods.rb
|
202
|
+
- lib/active_record/relation.rb
|
203
|
+
- lib/active_record/result.rb
|
204
|
+
- lib/active_record/runtime_registry.rb
|
205
|
+
- lib/active_record/sanitization.rb
|
206
|
+
- lib/active_record/schema.rb
|
207
|
+
- lib/active_record/schema_dumper.rb
|
208
|
+
- lib/active_record/schema_migration.rb
|
209
|
+
- lib/active_record/scoping/default.rb
|
210
|
+
- lib/active_record/scoping/named.rb
|
211
|
+
- lib/active_record/scoping.rb
|
212
|
+
- lib/active_record/serialization.rb
|
213
|
+
- lib/active_record/serializers/xml_serializer.rb
|
214
|
+
- lib/active_record/statement_cache.rb
|
215
|
+
- lib/active_record/store.rb
|
216
|
+
- lib/active_record/tasks/database_tasks.rb
|
217
|
+
- lib/active_record/tasks/firebird_database_tasks.rb
|
218
|
+
- lib/active_record/tasks/mysql_database_tasks.rb
|
219
|
+
- lib/active_record/tasks/oracle_database_tasks.rb
|
220
|
+
- lib/active_record/tasks/postgresql_database_tasks.rb
|
221
|
+
- lib/active_record/tasks/sqlite_database_tasks.rb
|
222
|
+
- lib/active_record/tasks/sqlserver_database_tasks.rb
|
223
|
+
- lib/active_record/test_case.rb
|
224
|
+
- lib/active_record/timestamp.rb
|
225
|
+
- lib/active_record/transactions.rb
|
226
|
+
- lib/active_record/translation.rb
|
227
|
+
- lib/active_record/validations/associated.rb
|
228
|
+
- lib/active_record/validations/presence.rb
|
229
|
+
- lib/active_record/validations/uniqueness.rb
|
230
|
+
- lib/active_record/validations.rb
|
231
|
+
- lib/active_record/version.rb
|
232
|
+
- lib/active_record.rb
|
233
|
+
- lib/rails/generators/active_record/migration/migration_generator.rb
|
234
|
+
- lib/rails/generators/active_record/migration/templates/create_table_migration.rb
|
235
|
+
- lib/rails/generators/active_record/migration/templates/migration.rb
|
236
|
+
- lib/rails/generators/active_record/model/model_generator.rb
|
237
|
+
- lib/rails/generators/active_record/model/templates/model.rb
|
238
|
+
- lib/rails/generators/active_record/model/templates/module.rb
|
239
|
+
- lib/rails/generators/active_record.rb
|
240
|
+
homepage: http://www.rubyonrails.org
|
241
|
+
licenses:
|
242
|
+
- MIT
|
243
|
+
metadata: {}
|
244
|
+
post_install_message:
|
245
|
+
rdoc_options:
|
246
|
+
- --main
|
247
|
+
- README.rdoc
|
248
|
+
require_paths:
|
249
|
+
- lib
|
250
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
251
|
+
requirements:
|
252
|
+
- - '>='
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: 1.9.3
|
255
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - '>='
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
165
260
|
requirements: []
|
166
|
-
|
261
|
+
rubyforge_project:
|
262
|
+
rubygems_version: 2.0.2
|
263
|
+
signing_key:
|
264
|
+
specification_version: 4
|
265
|
+
summary: Object-relational mapper framework (part of Rails).
|
266
|
+
test_files: []
|