activerecord 6.1.7.4 → 7.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1449 -1014
- data/README.rdoc +3 -3
- data/lib/active_record/aggregations.rb +1 -1
- data/lib/active_record/association_relation.rb +0 -10
- data/lib/active_record/associations/association.rb +33 -17
- data/lib/active_record/associations/association_scope.rb +1 -3
- data/lib/active_record/associations/belongs_to_association.rb +15 -4
- data/lib/active_record/associations/belongs_to_polymorphic_association.rb +10 -2
- data/lib/active_record/associations/builder/association.rb +8 -2
- data/lib/active_record/associations/builder/belongs_to.rb +19 -6
- data/lib/active_record/associations/builder/collection_association.rb +10 -3
- data/lib/active_record/associations/builder/has_many.rb +3 -2
- data/lib/active_record/associations/builder/has_one.rb +2 -1
- data/lib/active_record/associations/builder/singular_association.rb +2 -2
- data/lib/active_record/associations/collection_association.rb +19 -21
- data/lib/active_record/associations/collection_proxy.rb +10 -5
- data/lib/active_record/associations/disable_joins_association_scope.rb +59 -0
- data/lib/active_record/associations/has_many_association.rb +8 -5
- data/lib/active_record/associations/has_many_through_association.rb +2 -1
- data/lib/active_record/associations/has_one_association.rb +14 -7
- data/lib/active_record/associations/has_one_through_association.rb +1 -1
- data/lib/active_record/associations/join_dependency.rb +23 -15
- data/lib/active_record/associations/preloader/association.rb +186 -52
- data/lib/active_record/associations/preloader/batch.rb +48 -0
- data/lib/active_record/associations/preloader/branch.rb +147 -0
- data/lib/active_record/associations/preloader/through_association.rb +50 -14
- data/lib/active_record/associations/preloader.rb +39 -113
- data/lib/active_record/associations/singular_association.rb +15 -7
- data/lib/active_record/associations/through_association.rb +3 -3
- data/lib/active_record/associations.rb +138 -100
- data/lib/active_record/asynchronous_queries_tracker.rb +60 -0
- data/lib/active_record/attribute_assignment.rb +1 -1
- data/lib/active_record/attribute_methods/before_type_cast.rb +7 -2
- data/lib/active_record/attribute_methods/dirty.rb +49 -16
- data/lib/active_record/attribute_methods/primary_key.rb +2 -2
- data/lib/active_record/attribute_methods/query.rb +2 -2
- data/lib/active_record/attribute_methods/read.rb +8 -6
- data/lib/active_record/attribute_methods/serialization.rb +57 -19
- data/lib/active_record/attribute_methods/time_zone_conversion.rb +4 -3
- data/lib/active_record/attribute_methods/write.rb +7 -10
- data/lib/active_record/attribute_methods.rb +19 -22
- data/lib/active_record/attributes.rb +24 -35
- data/lib/active_record/autosave_association.rb +17 -28
- data/lib/active_record/base.rb +19 -1
- data/lib/active_record/callbacks.rb +14 -16
- data/lib/active_record/coders/yaml_column.rb +4 -8
- data/lib/active_record/connection_adapters/abstract/connection_handler.rb +292 -0
- data/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb +209 -0
- data/lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb +76 -0
- data/lib/active_record/connection_adapters/abstract/connection_pool.rb +47 -561
- data/lib/active_record/connection_adapters/abstract/database_limits.rb +0 -17
- data/lib/active_record/connection_adapters/abstract/database_statements.rb +46 -22
- data/lib/active_record/connection_adapters/abstract/query_cache.rb +24 -12
- data/lib/active_record/connection_adapters/abstract/quoting.rb +42 -72
- data/lib/active_record/connection_adapters/abstract/schema_creation.rb +4 -17
- data/lib/active_record/connection_adapters/abstract/schema_definitions.rb +52 -23
- data/lib/active_record/connection_adapters/abstract/schema_dumper.rb +14 -1
- data/lib/active_record/connection_adapters/abstract/schema_statements.rb +82 -25
- data/lib/active_record/connection_adapters/abstract/transaction.rb +15 -22
- data/lib/active_record/connection_adapters/abstract_adapter.rb +153 -74
- data/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +112 -84
- data/lib/active_record/connection_adapters/column.rb +4 -0
- data/lib/active_record/connection_adapters/mysql/database_statements.rb +36 -24
- data/lib/active_record/connection_adapters/mysql/quoting.rb +45 -21
- data/lib/active_record/connection_adapters/mysql/schema_definitions.rb +4 -1
- data/lib/active_record/connection_adapters/mysql/schema_dumper.rb +7 -1
- data/lib/active_record/connection_adapters/mysql/schema_statements.rb +20 -1
- data/lib/active_record/connection_adapters/mysql2_adapter.rb +12 -6
- data/lib/active_record/connection_adapters/pool_config.rb +7 -7
- data/lib/active_record/connection_adapters/postgresql/column.rb +19 -1
- data/lib/active_record/connection_adapters/postgresql/database_statements.rb +20 -17
- data/lib/active_record/connection_adapters/postgresql/oid/array.rb +1 -1
- data/lib/active_record/connection_adapters/postgresql/oid/date.rb +8 -0
- data/lib/active_record/connection_adapters/postgresql/oid/date_time.rb +5 -0
- data/lib/active_record/connection_adapters/postgresql/oid/hstore.rb +53 -14
- data/lib/active_record/connection_adapters/postgresql/oid/range.rb +1 -1
- data/lib/active_record/connection_adapters/postgresql/oid/timestamp.rb +15 -0
- data/lib/active_record/connection_adapters/postgresql/oid/timestamp_with_time_zone.rb +30 -0
- data/lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb +18 -6
- data/lib/active_record/connection_adapters/postgresql/oid.rb +2 -0
- data/lib/active_record/connection_adapters/postgresql/quoting.rb +71 -71
- data/lib/active_record/connection_adapters/postgresql/referential_integrity.rb +34 -0
- data/lib/active_record/connection_adapters/postgresql/schema_creation.rb +21 -1
- data/lib/active_record/connection_adapters/postgresql/schema_definitions.rb +22 -1
- data/lib/active_record/connection_adapters/postgresql/schema_dumper.rb +25 -0
- data/lib/active_record/connection_adapters/postgresql/schema_statements.rb +40 -21
- data/lib/active_record/connection_adapters/postgresql/utils.rb +9 -10
- data/lib/active_record/connection_adapters/postgresql_adapter.rb +207 -106
- data/lib/active_record/connection_adapters/schema_cache.rb +39 -38
- data/lib/active_record/connection_adapters/sqlite3/database_statements.rb +25 -19
- data/lib/active_record/connection_adapters/sqlite3/quoting.rb +28 -16
- data/lib/active_record/connection_adapters/sqlite3/schema_statements.rb +17 -15
- data/lib/active_record/connection_adapters/sqlite3_adapter.rb +97 -32
- data/lib/active_record/connection_adapters.rb +6 -5
- data/lib/active_record/connection_handling.rb +49 -55
- data/lib/active_record/core.rb +123 -148
- data/lib/active_record/database_configurations/connection_url_resolver.rb +2 -1
- data/lib/active_record/database_configurations/database_config.rb +12 -9
- data/lib/active_record/database_configurations/hash_config.rb +63 -5
- data/lib/active_record/database_configurations/url_config.rb +2 -2
- data/lib/active_record/database_configurations.rb +15 -32
- data/lib/active_record/delegated_type.rb +53 -12
- data/lib/active_record/destroy_association_async_job.rb +1 -1
- data/lib/active_record/disable_joins_association_relation.rb +39 -0
- data/lib/active_record/dynamic_matchers.rb +1 -1
- data/lib/active_record/encryption/cipher/aes256_gcm.rb +98 -0
- data/lib/active_record/encryption/cipher.rb +53 -0
- data/lib/active_record/encryption/config.rb +44 -0
- data/lib/active_record/encryption/configurable.rb +67 -0
- data/lib/active_record/encryption/context.rb +35 -0
- data/lib/active_record/encryption/contexts.rb +72 -0
- data/lib/active_record/encryption/derived_secret_key_provider.rb +12 -0
- data/lib/active_record/encryption/deterministic_key_provider.rb +14 -0
- data/lib/active_record/encryption/encryptable_record.rb +206 -0
- data/lib/active_record/encryption/encrypted_attribute_type.rb +140 -0
- data/lib/active_record/encryption/encrypted_fixtures.rb +38 -0
- data/lib/active_record/encryption/encrypting_only_encryptor.rb +12 -0
- data/lib/active_record/encryption/encryptor.rb +155 -0
- data/lib/active_record/encryption/envelope_encryption_key_provider.rb +55 -0
- data/lib/active_record/encryption/errors.rb +15 -0
- data/lib/active_record/encryption/extended_deterministic_queries.rb +160 -0
- data/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb +28 -0
- data/lib/active_record/encryption/key.rb +28 -0
- data/lib/active_record/encryption/key_generator.rb +42 -0
- data/lib/active_record/encryption/key_provider.rb +46 -0
- data/lib/active_record/encryption/message.rb +33 -0
- data/lib/active_record/encryption/message_serializer.rb +90 -0
- data/lib/active_record/encryption/null_encryptor.rb +21 -0
- data/lib/active_record/encryption/properties.rb +76 -0
- data/lib/active_record/encryption/read_only_null_encryptor.rb +24 -0
- data/lib/active_record/encryption/scheme.rb +99 -0
- data/lib/active_record/encryption.rb +55 -0
- data/lib/active_record/enum.rb +50 -43
- data/lib/active_record/errors.rb +67 -4
- data/lib/active_record/explain_registry.rb +11 -6
- data/lib/active_record/explain_subscriber.rb +1 -1
- data/lib/active_record/fixture_set/file.rb +15 -1
- data/lib/active_record/fixture_set/table_row.rb +41 -6
- data/lib/active_record/fixture_set/table_rows.rb +4 -4
- data/lib/active_record/fixtures.rb +20 -23
- data/lib/active_record/future_result.rb +139 -0
- data/lib/active_record/gem_version.rb +5 -5
- data/lib/active_record/inheritance.rb +55 -17
- data/lib/active_record/insert_all.rb +80 -14
- data/lib/active_record/integration.rb +4 -3
- data/lib/active_record/internal_metadata.rb +1 -5
- data/lib/active_record/legacy_yaml_adapter.rb +2 -39
- data/lib/active_record/locking/optimistic.rb +36 -21
- data/lib/active_record/locking/pessimistic.rb +10 -4
- data/lib/active_record/log_subscriber.rb +23 -7
- data/lib/active_record/middleware/database_selector/resolver.rb +6 -10
- data/lib/active_record/middleware/database_selector.rb +18 -6
- data/lib/active_record/middleware/shard_selector.rb +60 -0
- data/lib/active_record/migration/command_recorder.rb +8 -9
- data/lib/active_record/migration/compatibility.rb +91 -2
- data/lib/active_record/migration/join_table.rb +1 -1
- data/lib/active_record/migration.rb +115 -84
- data/lib/active_record/model_schema.rb +58 -59
- data/lib/active_record/nested_attributes.rb +13 -12
- data/lib/active_record/no_touching.rb +3 -3
- data/lib/active_record/null_relation.rb +2 -6
- data/lib/active_record/persistence.rb +228 -60
- data/lib/active_record/query_cache.rb +2 -2
- data/lib/active_record/query_logs.rb +149 -0
- data/lib/active_record/querying.rb +16 -6
- data/lib/active_record/railtie.rb +136 -22
- data/lib/active_record/railties/controller_runtime.rb +1 -1
- data/lib/active_record/railties/databases.rake +78 -136
- data/lib/active_record/readonly_attributes.rb +11 -0
- data/lib/active_record/reflection.rb +80 -49
- data/lib/active_record/relation/batches/batch_enumerator.rb +19 -5
- data/lib/active_record/relation/batches.rb +6 -6
- data/lib/active_record/relation/calculations.rb +92 -60
- data/lib/active_record/relation/delegation.rb +7 -7
- data/lib/active_record/relation/finder_methods.rb +31 -35
- data/lib/active_record/relation/merger.rb +20 -13
- data/lib/active_record/relation/predicate_builder/association_query_value.rb +20 -1
- data/lib/active_record/relation/predicate_builder.rb +2 -6
- data/lib/active_record/relation/query_attribute.rb +5 -11
- data/lib/active_record/relation/query_methods.rb +285 -68
- data/lib/active_record/relation/record_fetch_warning.rb +7 -9
- data/lib/active_record/relation/spawn_methods.rb +2 -2
- data/lib/active_record/relation/where_clause.rb +10 -19
- data/lib/active_record/relation.rb +189 -88
- data/lib/active_record/result.rb +23 -11
- data/lib/active_record/runtime_registry.rb +9 -13
- data/lib/active_record/sanitization.rb +17 -12
- data/lib/active_record/schema.rb +38 -23
- data/lib/active_record/schema_dumper.rb +29 -19
- data/lib/active_record/schema_migration.rb +4 -4
- data/lib/active_record/scoping/default.rb +60 -13
- data/lib/active_record/scoping/named.rb +3 -11
- data/lib/active_record/scoping.rb +64 -34
- data/lib/active_record/serialization.rb +6 -1
- data/lib/active_record/signed_id.rb +3 -3
- data/lib/active_record/store.rb +2 -2
- data/lib/active_record/suppressor.rb +11 -15
- data/lib/active_record/table_metadata.rb +5 -1
- data/lib/active_record/tasks/database_tasks.rb +127 -60
- data/lib/active_record/tasks/mysql_database_tasks.rb +1 -1
- data/lib/active_record/tasks/postgresql_database_tasks.rb +19 -13
- data/lib/active_record/test_databases.rb +1 -1
- data/lib/active_record/test_fixtures.rb +9 -6
- data/lib/active_record/timestamp.rb +3 -4
- data/lib/active_record/transactions.rb +9 -14
- data/lib/active_record/translation.rb +3 -3
- data/lib/active_record/type/adapter_specific_registry.rb +32 -7
- data/lib/active_record/type/hash_lookup_type_map.rb +34 -1
- data/lib/active_record/type/internal/timezone.rb +2 -2
- data/lib/active_record/type/serialized.rb +5 -5
- data/lib/active_record/type/type_map.rb +17 -20
- data/lib/active_record/type.rb +1 -2
- data/lib/active_record/validations/associated.rb +4 -4
- data/lib/active_record/validations/presence.rb +2 -2
- data/lib/active_record/validations/uniqueness.rb +4 -4
- data/lib/active_record/version.rb +1 -1
- data/lib/active_record.rb +225 -27
- data/lib/arel/attributes/attribute.rb +0 -8
- data/lib/arel/crud.rb +28 -22
- data/lib/arel/delete_manager.rb +18 -4
- data/lib/arel/filter_predications.rb +9 -0
- data/lib/arel/insert_manager.rb +2 -3
- data/lib/arel/nodes/casted.rb +1 -1
- data/lib/arel/nodes/delete_statement.rb +12 -13
- data/lib/arel/nodes/filter.rb +10 -0
- data/lib/arel/nodes/function.rb +1 -0
- data/lib/arel/nodes/insert_statement.rb +2 -2
- data/lib/arel/nodes/select_core.rb +2 -2
- data/lib/arel/nodes/select_statement.rb +2 -2
- data/lib/arel/nodes/update_statement.rb +8 -3
- data/lib/arel/nodes.rb +1 -0
- data/lib/arel/predications.rb +11 -3
- data/lib/arel/select_manager.rb +10 -4
- data/lib/arel/table.rb +0 -1
- data/lib/arel/tree_manager.rb +0 -12
- data/lib/arel/update_manager.rb +18 -4
- data/lib/arel/visitors/dot.rb +80 -90
- data/lib/arel/visitors/mysql.rb +8 -2
- data/lib/arel/visitors/postgresql.rb +0 -10
- data/lib/arel/visitors/to_sql.rb +58 -2
- data/lib/arel.rb +2 -1
- data/lib/rails/generators/active_record/application_record/templates/application_record.rb.tt +1 -1
- data/lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt +1 -1
- data/lib/rails/generators/active_record/model/templates/model.rb.tt +1 -1
- data/lib/rails/generators/active_record/model/templates/module.rb.tt +2 -2
- data/lib/rails/generators/active_record/multi_db/multi_db_generator.rb +16 -0
- data/lib/rails/generators/active_record/multi_db/templates/multi_db.rb.tt +44 -0
- metadata +58 -14
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.0.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 7.0.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activemodel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 7.0.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 7.0.6
|
41
41
|
description: Databases on Rails. Build a persistent domain model by mapping database
|
42
42
|
tables to Ruby classes. Strong conventions for associations, validations, aggregations,
|
43
43
|
migrations, and testing come baked-in.
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- lib/active_record/associations/builder/singular_association.rb
|
71
71
|
- lib/active_record/associations/collection_association.rb
|
72
72
|
- lib/active_record/associations/collection_proxy.rb
|
73
|
+
- lib/active_record/associations/disable_joins_association_scope.rb
|
73
74
|
- lib/active_record/associations/foreign_association.rb
|
74
75
|
- lib/active_record/associations/has_many_association.rb
|
75
76
|
- lib/active_record/associations/has_many_through_association.rb
|
@@ -81,9 +82,12 @@ files:
|
|
81
82
|
- lib/active_record/associations/join_dependency/join_part.rb
|
82
83
|
- lib/active_record/associations/preloader.rb
|
83
84
|
- lib/active_record/associations/preloader/association.rb
|
85
|
+
- lib/active_record/associations/preloader/batch.rb
|
86
|
+
- lib/active_record/associations/preloader/branch.rb
|
84
87
|
- lib/active_record/associations/preloader/through_association.rb
|
85
88
|
- lib/active_record/associations/singular_association.rb
|
86
89
|
- lib/active_record/associations/through_association.rb
|
90
|
+
- lib/active_record/asynchronous_queries_tracker.rb
|
87
91
|
- lib/active_record/attribute_assignment.rb
|
88
92
|
- lib/active_record/attribute_methods.rb
|
89
93
|
- lib/active_record/attribute_methods/before_type_cast.rb
|
@@ -101,7 +105,10 @@ files:
|
|
101
105
|
- lib/active_record/coders/json.rb
|
102
106
|
- lib/active_record/coders/yaml_column.rb
|
103
107
|
- lib/active_record/connection_adapters.rb
|
108
|
+
- lib/active_record/connection_adapters/abstract/connection_handler.rb
|
104
109
|
- lib/active_record/connection_adapters/abstract/connection_pool.rb
|
110
|
+
- lib/active_record/connection_adapters/abstract/connection_pool/queue.rb
|
111
|
+
- lib/active_record/connection_adapters/abstract/connection_pool/reaper.rb
|
105
112
|
- lib/active_record/connection_adapters/abstract/database_limits.rb
|
106
113
|
- lib/active_record/connection_adapters/abstract/database_statements.rb
|
107
114
|
- lib/active_record/connection_adapters/abstract/query_cache.rb
|
@@ -153,6 +160,8 @@ files:
|
|
153
160
|
- lib/active_record/connection_adapters/postgresql/oid/point.rb
|
154
161
|
- lib/active_record/connection_adapters/postgresql/oid/range.rb
|
155
162
|
- lib/active_record/connection_adapters/postgresql/oid/specialized_string.rb
|
163
|
+
- lib/active_record/connection_adapters/postgresql/oid/timestamp.rb
|
164
|
+
- lib/active_record/connection_adapters/postgresql/oid/timestamp_with_time_zone.rb
|
156
165
|
- lib/active_record/connection_adapters/postgresql/oid/type_map_initializer.rb
|
157
166
|
- lib/active_record/connection_adapters/postgresql/oid/uuid.rb
|
158
167
|
- lib/active_record/connection_adapters/postgresql/oid/vector.rb
|
@@ -187,7 +196,35 @@ files:
|
|
187
196
|
- lib/active_record/database_configurations/url_config.rb
|
188
197
|
- lib/active_record/delegated_type.rb
|
189
198
|
- lib/active_record/destroy_association_async_job.rb
|
199
|
+
- lib/active_record/disable_joins_association_relation.rb
|
190
200
|
- lib/active_record/dynamic_matchers.rb
|
201
|
+
- lib/active_record/encryption.rb
|
202
|
+
- lib/active_record/encryption/cipher.rb
|
203
|
+
- lib/active_record/encryption/cipher/aes256_gcm.rb
|
204
|
+
- lib/active_record/encryption/config.rb
|
205
|
+
- lib/active_record/encryption/configurable.rb
|
206
|
+
- lib/active_record/encryption/context.rb
|
207
|
+
- lib/active_record/encryption/contexts.rb
|
208
|
+
- lib/active_record/encryption/derived_secret_key_provider.rb
|
209
|
+
- lib/active_record/encryption/deterministic_key_provider.rb
|
210
|
+
- lib/active_record/encryption/encryptable_record.rb
|
211
|
+
- lib/active_record/encryption/encrypted_attribute_type.rb
|
212
|
+
- lib/active_record/encryption/encrypted_fixtures.rb
|
213
|
+
- lib/active_record/encryption/encrypting_only_encryptor.rb
|
214
|
+
- lib/active_record/encryption/encryptor.rb
|
215
|
+
- lib/active_record/encryption/envelope_encryption_key_provider.rb
|
216
|
+
- lib/active_record/encryption/errors.rb
|
217
|
+
- lib/active_record/encryption/extended_deterministic_queries.rb
|
218
|
+
- lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb
|
219
|
+
- lib/active_record/encryption/key.rb
|
220
|
+
- lib/active_record/encryption/key_generator.rb
|
221
|
+
- lib/active_record/encryption/key_provider.rb
|
222
|
+
- lib/active_record/encryption/message.rb
|
223
|
+
- lib/active_record/encryption/message_serializer.rb
|
224
|
+
- lib/active_record/encryption/null_encryptor.rb
|
225
|
+
- lib/active_record/encryption/properties.rb
|
226
|
+
- lib/active_record/encryption/read_only_null_encryptor.rb
|
227
|
+
- lib/active_record/encryption/scheme.rb
|
191
228
|
- lib/active_record/enum.rb
|
192
229
|
- lib/active_record/errors.rb
|
193
230
|
- lib/active_record/explain.rb
|
@@ -199,6 +236,7 @@ files:
|
|
199
236
|
- lib/active_record/fixture_set/table_row.rb
|
200
237
|
- lib/active_record/fixture_set/table_rows.rb
|
201
238
|
- lib/active_record/fixtures.rb
|
239
|
+
- lib/active_record/future_result.rb
|
202
240
|
- lib/active_record/gem_version.rb
|
203
241
|
- lib/active_record/inheritance.rb
|
204
242
|
- lib/active_record/insert_all.rb
|
@@ -212,6 +250,7 @@ files:
|
|
212
250
|
- lib/active_record/middleware/database_selector.rb
|
213
251
|
- lib/active_record/middleware/database_selector/resolver.rb
|
214
252
|
- lib/active_record/middleware/database_selector/resolver/session.rb
|
253
|
+
- lib/active_record/middleware/shard_selector.rb
|
215
254
|
- lib/active_record/migration.rb
|
216
255
|
- lib/active_record/migration/command_recorder.rb
|
217
256
|
- lib/active_record/migration/compatibility.rb
|
@@ -222,6 +261,7 @@ files:
|
|
222
261
|
- lib/active_record/null_relation.rb
|
223
262
|
- lib/active_record/persistence.rb
|
224
263
|
- lib/active_record/query_cache.rb
|
264
|
+
- lib/active_record/query_logs.rb
|
225
265
|
- lib/active_record/querying.rb
|
226
266
|
- lib/active_record/railtie.rb
|
227
267
|
- lib/active_record/railties/console_sandbox.rb
|
@@ -312,6 +352,7 @@ files:
|
|
312
352
|
- lib/arel/errors.rb
|
313
353
|
- lib/arel/expressions.rb
|
314
354
|
- lib/arel/factory_methods.rb
|
355
|
+
- lib/arel/filter_predications.rb
|
315
356
|
- lib/arel/insert_manager.rb
|
316
357
|
- lib/arel/math.rb
|
317
358
|
- lib/arel/nodes.rb
|
@@ -328,6 +369,7 @@ files:
|
|
328
369
|
- lib/arel/nodes/equality.rb
|
329
370
|
- lib/arel/nodes/extract.rb
|
330
371
|
- lib/arel/nodes/false.rb
|
372
|
+
- lib/arel/nodes/filter.rb
|
331
373
|
- lib/arel/nodes/full_outer_join.rb
|
332
374
|
- lib/arel/nodes/function.rb
|
333
375
|
- lib/arel/nodes/grouping.rb
|
@@ -385,17 +427,19 @@ files:
|
|
385
427
|
- lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
|
386
428
|
- lib/rails/generators/active_record/model/templates/model.rb.tt
|
387
429
|
- lib/rails/generators/active_record/model/templates/module.rb.tt
|
430
|
+
- lib/rails/generators/active_record/multi_db/multi_db_generator.rb
|
431
|
+
- lib/rails/generators/active_record/multi_db/templates/multi_db.rb.tt
|
388
432
|
homepage: https://rubyonrails.org
|
389
433
|
licenses:
|
390
434
|
- MIT
|
391
435
|
metadata:
|
392
436
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
393
|
-
changelog_uri: https://github.com/rails/rails/blob/
|
394
|
-
documentation_uri: https://api.rubyonrails.org/
|
437
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.6/activerecord/CHANGELOG.md
|
438
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.6/
|
395
439
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
396
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
440
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.6/activerecord
|
397
441
|
rubygems_mfa_required: 'true'
|
398
|
-
post_install_message:
|
442
|
+
post_install_message:
|
399
443
|
rdoc_options:
|
400
444
|
- "--main"
|
401
445
|
- README.rdoc
|
@@ -405,15 +449,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
405
449
|
requirements:
|
406
450
|
- - ">="
|
407
451
|
- !ruby/object:Gem::Version
|
408
|
-
version: 2.
|
452
|
+
version: 2.7.0
|
409
453
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
410
454
|
requirements:
|
411
455
|
- - ">="
|
412
456
|
- !ruby/object:Gem::Version
|
413
457
|
version: '0'
|
414
458
|
requirements: []
|
415
|
-
rubygems_version: 3.
|
416
|
-
signing_key:
|
459
|
+
rubygems_version: 3.4.13
|
460
|
+
signing_key:
|
417
461
|
specification_version: 4
|
418
462
|
summary: Object-relational mapper framework (part of Rails).
|
419
463
|
test_files: []
|