rails/activerecord/lib/active_record
Xavier Noria 2aeb322806 Let's use the delegation to the transaction manager here
`within_new_transaction` is delegated to the transaction manager. Let's remove
this explicit receiver to honor the delegation and for consistency with usage
of the also delegated `current_transaction`.
2024-05-28 13:21:10 +02:00
..
associations Make the Relation -> Model delegation stricter 2024-05-28 08:13:23 +02:00
attribute_methods Fix non-partial inserts for models with composite identity primary keys 2024-05-18 12:08:33 +03:00
coders
connection_adapters Let's use the delegation to the transaction manager here 2024-05-28 13:21:10 +02:00
database_configurations Refactor InternalMetadata, MigrationContext to belong to the pool 2024-02-22 12:46:41 +01:00
encryption Make the Relation -> Model delegation stricter 2024-05-28 08:13:23 +02:00
fixture_set
locale
locking Document that lock_version column is integer 2024-02-11 18:19:21 +01:00
middleware Prepend $ to example CLI commands [ci-skip] 2024-01-07 17:27:23 -06:00
migration Development of Rails 8.0 starts now 2024-05-13 16:45:20 +00:00
railties Add queries count to template rendering instrumentation 2024-04-04 18:25:06 +03:00
relation Make the Relation -> Model delegation stricter 2024-05-28 08:13:23 +02:00
scoping
tasks Add ENV["SKIP_TEST_DATABASE_TRUNCATE"] flag to speed up multi-process test runs (#51686) 2024-05-06 17:04:01 -07:00
testing Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
type More efficiently reset inspect implementation 2024-01-30 08:34:22 +01:00
type_caster Use with_connection instead of lease_connection in TypeCaster::Connection 2024-03-26 10:13:49 -04:00
validations Eliminate lease_connection call in UniquenessValidator 2024-03-19 14:04:27 +01:00
aggregations.rb Add more missing headers to Active Record docs [ci-skip] 2023-04-22 11:58:15 +02:00
association_relation.rb Move ActiveRecord::Base.insert in Relation 2024-05-13 15:52:02 +09:00
associations.rb Development of Rails 8.0 starts now 2024-05-13 16:45:20 +00:00
asynchronous_queries_tracker.rb
attribute_assignment.rb Remove ActiveRecord::AttributeAssignment#assign_nested_parameter_attributes 2024-01-10 07:36:09 -05:00
attribute_methods.rb Fix typo 2024-02-25 23:11:40 +08:00
attributes.rb Eliminate missed lease_connection calls 2024-05-03 13:32:33 +02:00
autosave_association.rb Add index_errors: :nested_attributes_order mode 2024-05-09 20:03:53 +08:00
base.rb Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
callbacks.rb Expand the transaction callback ordering in guides [ci-skip] 2023-11-02 10:16:35 +01:00
connection_adapters.rb Add deprecation and specific exceptions to warn when an adapter is using the legacy registration format in 7.2 2023-11-30 07:00:38 -05:00
connection_handling.rb Fix the ActionRecord typo 2024-04-03 09:32:41 +02:00
core.rb Eliminate lease_connection call in cached_find_by 2024-05-14 15:12:12 +09:00
counter_cache.rb Fix counter caches to work for models with composite primary keys 2024-02-08 18:59:39 +02:00
database_configurations.rb DatabaseConfigurations#configs_for can accept a symbol in the name parameter. 2023-11-14 17:25:19 -05:00
delegated_type.rb Merge pull request #51263 from buncis/update-delegate-type-doc 2024-03-06 13:22:44 -03:00
deprecator.rb
destroy_association_async_job.rb Fix destroy_async job for owners with composite primary keys 2024-03-25 01:52:54 +02:00
disable_joins_association_relation.rb
dynamic_matchers.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
encryption.rb Add a encryption option to support previous data encrypted non-deterministically with a SHA1 hash digest (#48530) 2023-06-25 10:16:22 +02:00
enum.rb Deprecate defining enums with keywords args 2024-02-10 00:20:45 +00:00
errors.rb Update Doc for ActiveRecord::RecordNotSaved to be consistent 2024-04-30 23:32:14 +03:00
explain_registry.rb
explain_subscriber.rb
explain.rb Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
fixtures.rb Warn about changing query_constraints: behavior 2024-05-08 20:08:09 +00:00
future_result.rb Remove delegate_missing_to in FutureResult class and add test cases. 2024-03-27 17:58:12 +08:00
gem_version.rb Development of Rails 8.0 starts now 2024-05-13 16:45:20 +00:00
inheritance.rb Merge pull request #49774 from stevepolitodesign/sp-disable-inheritance 2024-04-18 17:37:30 -03:00
insert_all.rb Move ActiveRecord::Base.insert in Relation 2024-05-13 15:52:02 +09:00
integration.rb Eliminate lease_connection call in Integration 2024-03-19 15:44:52 +01:00
internal_metadata.rb Retry known idempotent SELECT queries on connection-related exceptions 2024-03-26 09:25:55 -04:00
legacy_yaml_adapter.rb
log_subscriber.rb Remove deprecated methods on ActiveRecord::LogSubscriber 2024-02-20 21:50:03 +00:00
marshalling.rb Only serialize associations that were loaded 2024-05-14 09:37:23 +09:00
message_pack.rb Only serialize associations that were loaded 2024-05-14 09:37:23 +09:00
migration.rb Development of Rails 8.0 starts now 2024-05-13 16:45:20 +00:00
model_schema.rb Development of Rails 8.0 starts now 2024-05-13 16:45:20 +00:00
nested_attributes.rb Add index_errors: :nested_attributes_order mode 2024-05-09 20:03:53 +08:00
no_touching.rb
normalization.rb More efficiently reset inspect implementation 2024-01-30 08:34:22 +01:00
persistence.rb Move ActiveRecord::Base.insert in Relation 2024-05-13 15:52:02 +09:00
promise.rb Fix ActiveRecord::Promise example [skip ci] 2023-10-27 11:02:02 +03:00
query_cache.rb Add dirties option to uncached (#51204) 2024-03-02 19:01:24 -08:00
query_logs_formatter.rb Allow string keys for SQLCommenter 2024-04-11 12:47:11 -07:00
query_logs.rb Support :source_location tag option for query log tags 2024-02-06 00:52:57 +02:00
querying.rb Move ActiveRecord::Base.insert in Relation 2024-05-13 15:52:02 +09:00
railtie.rb Add active_record.postgresql_adapter_decode_dates 2024-05-15 18:38:08 +00:00
readonly_attributes.rb
reflection.rb Make source_reflection return nil when no name 2024-05-27 21:08:45 +02:00
relation.rb Make the Relation -> Model delegation stricter 2024-05-28 08:13:23 +02:00
result.rb Simplify ActiveRecord::Result#hash_rows 2024-05-07 11:45:38 +02:00
runtime_registry.rb Add queries count to template rendering instrumentation 2024-04-04 18:25:06 +03:00
sanitization.rb Eliminate missed lease_connection calls 2024-05-03 13:32:33 +02:00
schema_dumper.rb Fix remove_prefix_and_suffix in ActiveRecord::SchemaDumper 2024-04-15 04:57:41 +09:00
schema_migration.rb Refactor InternalMetadata, MigrationContext to belong to the pool 2024-02-22 12:46:41 +01:00
schema.rb Refactor InternalMetadata, MigrationContext to belong to the pool 2024-02-22 12:46:41 +01:00
scoping.rb
secure_password.rb
secure_token.rb [Fix #49874] has_secure_token calls the setter method on initialize 2023-12-03 14:35:19 +04:00
serialization.rb
signed_id.rb Refactor ActiveRecord::SignedId to not rely on relation delegation 2024-05-13 11:07:01 +09:00
statement_cache.rb Retry known idempotent SELECT queries on connection-related exceptions 2024-03-26 09:25:55 -04:00
store.rb Raise a descriptive error when a store column is misconfigured 2024-05-23 15:59:56 -04:00
suppressor.rb Add more missing headers to Active Record docs [ci-skip] 2023-04-22 11:58:15 +02:00
table_metadata.rb Revert "Eliminate lease_connection call in TypeCaster::Connection" 2024-03-26 10:08:40 -04:00
test_databases.rb
test_fixtures.rb Fix clash with methods named fixture in test cases 2024-03-19 10:40:13 +10:00
timestamp.rb Fix ActiveRecord::Relation#touch_all with custom attribute aliased as attribute for update 2024-05-11 14:14:44 +03:00
token_for.rb Refactor ActiveRecord::TokenFor to not rely on relation delegation 2024-05-13 11:28:15 +09:00
touch_later.rb Cleanup defined? usage 2024-01-05 15:05:35 +01:00
transaction.rb Minor tweaks / improvements to recent changelog/api docs [ci skip] 2024-04-08 14:48:44 -03:00
transactions.rb Revert "Merge pull request #51184 from ConfusedVorlon/document_after_commit_deduplication" 2024-05-23 20:09:09 +09:00
translation.rb Include ActiveModel::API in ActiveRecord::Base 2023-10-18 00:21:14 +01:00
type_caster.rb
type.rb
validations.rb Pass validation_context to validates_associated 2024-01-02 11:22:35 -05:00
version.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00