..
adapters
Remove deprecated support to quote ActiveSupport::Duration
2024-02-20 21:54:57 +00:00
arel
Fix update_all/delete_all
on CPK model relation with join subquery
2024-02-12 16:35:59 +00:00
assertions
Fix a flaky test in query_assertions_test.rb
( #50503 )
2024-01-02 12:50:43 +01:00
associations
Update create has_one failure test descriptions
2024-02-11 19:42:23 +10:00
attribute_methods
Define missing attribute methods from method_missing
2024-01-05 16:56:19 +01:00
coders
Fix a Gem::Version Comparison
2023-05-06 17:08:44 -07:00
connection_adapters
Remove deprecated support to apply some methods in the Connection Handle to the connections pools for the current role when the role
arguments isn't provided
2024-02-20 21:53:38 +00:00
database_configurations
Unify the logic to determine the default schema cache path for a database configuration
2024-01-29 18:18:15 +00:00
encryption
Add MessagePackMessageSerializer for binary data ( #51102 )
2024-02-16 09:07:25 -08:00
fixture_set
migration
Remove deprecated support to pass deferrable: true
to add_foreign_key
2024-02-20 21:55:04 +00:00
persistence
Ensure reload
sets correct owner for each association
2023-11-18 15:59:09 +02:00
relation
Remove deprecated behavior that would rollback a transaction block when exited using return
, break
or throw
.
2024-02-20 21:56:51 +00:00
scoping
Remove redundant parent
method from RESTRICTED_CLASS_METHODS
2024-01-09 16:07:39 +00:00
tasks
Refactor SchemaCache to hold a ConnectionPool
2024-02-15 13:56:32 +01:00
type
Enable Minitest/LiteralAsActualArgument
2023-09-13 10:09:32 +09:00
validations
Pass validation_context to validates_associated
2024-01-02 11:22:35 -05:00
active_record_schema_test.rb
Clear metadata tables in tests instead of droping
2023-01-11 02:56:49 +02:00
active_record_test.rb
Gracefully handle transactional fixtures leaks
2024-02-08 11:28:42 +01:00
adapter_prevent_writes_test.rb
Update postgres naming to PostgreSQL
2023-10-10 13:44:20 +05:30
adapter_test.rb
Remove deprecated #all_foreign_keys_valid?
from database adapters
2024-02-20 21:51:31 +00:00
aggregations_test.rb
Fix composed_of freezing and duplication
2022-11-25 17:36:12 +01:00
annotate_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
associations_test.rb
assert_queries doesn't exist anymore
2024-01-11 19:04:48 +00:00
asynchronous_queries_test.rb
Fix async queries to work with query cache
2023-12-20 23:50:41 +02:00
attribute_methods_test.rb
[R] Remove deprecated support to call alias_attribute
with non-existent attribute names
2024-02-20 21:49:56 +00:00
attributes_test.rb
Make the output of ActiveRecord::Core#inspect
configurable.
2023-11-08 14:23:16 -05:00
autosave_association_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
base_prevent_writes_test.rb
Add explain
support for methods like last
, pluck
and count
2024-01-04 11:11:09 +01:00
base_test.rb
Refactor SchemaCache to hold a ConnectionPool
2024-02-15 13:56:32 +01:00
batches_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
binary_test.rb
Ensure binary-destined values have binary encoding during type cast
2023-05-29 18:21:20 +09:30
bind_parameter_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
boolean_test.rb
cache_key_test.rb
Introduce adapter for Trilogy, a MySQL-compatible DB client
2023-04-17 11:49:07 -04:00
calculations_test.rb
Fix async queries to work with query cache and other cached async queries
2024-01-17 21:32:14 +02:00
callbacks_test.rb
clone_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
collection_cache_key_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
column_alias_test.rb
column_definition_test.rb
comment_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
connection_handling_test.rb
Improve ConnectionHandlingTest
2024-02-14 14:42:26 +01:00
connection_management_test.rb
Fix missed test changes for pool method deprecations
2022-09-12 13:05:55 -04:00
connection_pool_test.rb
Refactor SchemaCache to hold a ConnectionPool
2024-02-15 13:56:32 +01:00
core_test.rb
Make the output of ActiveRecord::Core#inspect
configurable.
2023-11-08 14:23:16 -05:00
counter_cache_test.rb
Fix counter caches to work for models with composite primary keys
2024-02-08 18:59:39 +02:00
custom_locking_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
database_configurations_test.rb
Refactor lookup of connection adapters
2023-11-16 09:07:44 +01:00
database_selector_test.rb
Multi database: define reading_request?
in resolver
2022-04-23 12:05:59 +10:00
database_statements_test.rb
date_test.rb
date_time_precision_test.rb
Preserve timestamp when setting an ActiveSupport::TimeWithZone
value to timestamptz
attribute
2023-05-31 00:35:29 +03:00
date_time_test.rb
Fix tests for validation of default_timezone
2021-10-14 18:11:08 +00:00
defaults_test.rb
Fix single quote escapes on default generated MySQL columns
2024-01-17 07:12:27 -05:00
delegated_type_test.rb
Define a class method to introspect valid delegatable types so they can
2024-01-08 20:47:16 -05:00
dirty_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
disconnected_test.rb
Remove unnecessary setters of use_transactional_tests
2023-06-16 14:05:49 -04:00
dup_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
enum_test.rb
Deprecate defining enums with keywords args
2024-02-10 00:20:45 +00:00
errors_test.rb
excluding_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
explain_subscriber_test.rb
Fix ActiveRecord's explain for queries starting with comments
2022-02-07 00:47:33 +02:00
explain_test.rb
Add explain
support for methods like last
, pluck
and count
2024-01-04 11:11:09 +01:00
filter_attributes_test.rb
Make the output of ActiveRecord::Core#inspect
configurable.
2023-11-08 14:23:16 -05:00
finder_respond_to_test.rb
Rename behaviour to behavior in test case names
2022-05-26 17:14:18 -04:00
finder_test.rb
Don't mutate row arrays that come back from the database adapter
2024-01-23 16:33:04 -08:00
fixtures_test.rb
Refactor some Active Record tests
2024-02-14 12:57:29 +01:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb
Refactor lookup of connection adapters
2023-11-16 09:07:44 +01:00
hot_compatibility_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
i18n_test.rb
inheritance_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
inherited_test.rb
Fix usage of self.inherited
2023-11-10 22:55:37 +01:00
insert_all_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
instrumentation_test.rb
Refactor SchemaCache to hold a ConnectionPool
2024-02-15 13:56:32 +01:00
integration_test.rb
Revert "Merge pull request #49242 from eileencodes/fix-inferred-query-constraints"
2023-09-12 22:36:33 +00:00
invalid_connection_test.rb
Decouple transactional fixtures and active connections
2024-02-09 12:59:40 +01:00
invertible_migration_test.rb
Introduce adapter for Trilogy, a MySQL-compatible DB client
2023-04-17 11:49:07 -04:00
json_attribute_test.rb
Delete incompatible Trilogy tests
2023-04-24 09:35:28 +02:00
json_serialization_test.rb
Avoid extra pass on AS::JSON.dump with no options
2023-06-29 15:37:57 -07:00
json_shared_test_cases.rb
Allow to define the default column serializer
2023-02-22 19:32:28 +01:00
locking_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
log_subscriber_test.rb
Optimize ActiveRecord::LogSubscriber#query_source_location
2023-08-31 11:56:55 +02:00
marshal_serialization_test.rb
Implement marshal_dump
and marshal_load
on ActiveRecord::Base
2023-03-28 16:46:14 +02:00
message_pack_test.rb
Load author_addresses
fixtures for ActiveRecordMessagePackTest
2023-10-11 22:57:39 +03:00
migration_test.rb
Remove deprecated support to passing SchemaMigration
and InternalMetadata
classes as arguments to ActiveRecord::MigrationContext
.
2024-02-20 21:50:05 +00:00
migrator_test.rb
Remove unnecessary setters of use_transactional_tests
2023-06-16 14:05:49 -04:00
mixin_test.rb
modules_test.rb
multi_db_migrator_test.rb
Remove unnecessary setters of use_transactional_tests
2023-06-16 14:05:49 -04:00
multiparameter_attributes_test.rb
Make #to_fs the default replacement for #to_s(:format)
2022-02-07 12:41:21 +01:00
multiple_db_test.rb
Store connection_pool in DB exceptions
2023-06-02 10:44:28 -04:00
nested_attributes_test.rb
[ Fix #50803 ] Consistently raise an ArgumentError
when passing an invalid argument to a nested attributes association writer
2024-01-19 20:34:33 +10:00
nested_attributes_with_callbacks_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
normalized_attribute_test.rb
Add negative where
examples for normalizes
2023-09-10 16:40:29 -05:00
null_relation_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
numeric_data_test.rb
persistence_test.rb
Refactor QueryCacheTest
2024-02-01 11:07:22 +01:00
pooled_connections_test.rb
Refactor some Active Record tests
2024-02-14 12:57:29 +01:00
prepared_statement_status_test.rb
primary_class_test.rb
Gracefully handle transactional fixtures leaks
2024-02-08 11:28:42 +01:00
primary_keys_test.rb
Remove deprecated support to ActiveRecord::Base#read_attribute(:id)
to return the custom primary key value
2024-02-20 21:51:29 +00:00
query_cache_test.rb
Don't forcefully clear temporarily disabled query caches
2024-02-21 11:47:54 +01:00
query_logs_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
quoting_test.rb
Remove deprecated support to quote ActiveSupport::Duration
2024-02-20 21:54:57 +00:00
readonly_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
reaper_test.rb
Rewrite connection reaper test with timeout
2024-02-17 20:55:56 +02:00
reflection_test.rb
Raise on foreign_key:
being passed as an array in associations
2023-10-13 17:10:07 +00:00
relation_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
relations_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
reload_models_test.rb
AR adapter helpers are now available only within AR::TestCase class
2023-01-01 21:43:24 +09:00
reserved_word_test.rb
result_test.rb
Remove deprecated ActiveRecord::Result#map!
and ActiveRecord::Result#collect!
2021-11-19 23:16:25 +00:00
sanitize_test.rb
Expose assert_queries_match
and assert_no_queries_match
assertions
2023-12-21 01:30:16 +02:00
schema_dumper_test.rb
Use cannonical form of library names
2023-10-30 12:51:35 -05:00
schema_loading_test.rb
secure_password_test.rb
Retry flaky secure password test
2023-03-12 23:24:28 +02:00
secure_token_test.rb
[ Fix #49874 ] has_secure_token
calls the setter method on initialize
2023-12-03 14:35:19 +04:00
serialization_test.rb
Change ActiveRecord::Coders::YAMLColumn default to safe_load
2022-07-12 09:26:46 -07:00
serialized_attribute_test.rb
Remove deprecated support to passing coder and class as second argument to serialize
2024-02-20 21:51:30 +00:00
shard_selector_test.rb
Add automatic shard swapping middleware
2021-11-18 08:18:45 -05:00
signed_id_test.rb
Ensure #signed_id
outputs url_safe
strings ( #49507 )
2023-10-06 15:24:37 +02:00
statement_cache_test.rb
Raise when defining an enum not backed by a database column
2022-08-03 11:14:45 +03:00
statement_invalid_test.rb
Separate two groups of retryable DB exceptions
2022-07-26 22:07:35 +09:30
store_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
strict_loading_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
suppressor_test.rb
test_case.rb
ActiveRecord::TestCase: reap all leaked connection on teardown
2024-02-15 13:31:34 +01:00
test_databases_test.rb
test_fixtures_test.rb
Decouple transactional fixtures and active connections
2024-02-09 12:59:40 +01:00
time_precision_test.rb
Introduce adapter for Trilogy, a MySQL-compatible DB client
2023-04-17 11:49:07 -04:00
timestamp_test.rb
[ Fix #45389 ] updated_at not updating in before_update callback
2023-03-26 17:52:12 +10:00
token_for_test.rb
Fix flaky test in AR - token for
2023-04-28 16:40:00 +05:30
touch_later_test.rb
Hide changes to before_committed! behaviour behind config
2022-12-15 11:43:51 -05:00
transaction_callbacks_test.rb
Fix [ #50260 ] Support :on
option in #set_callback
2024-01-12 12:30:13 +01:00
transaction_instrumentation_test.rb
Ensure transaction tracking finishes when reconnecting
2023-10-04 19:35:22 -04:00
transaction_isolation_test.rb
AR adapter helpers are now available only within AR::TestCase class
2023-01-01 21:43:24 +09:00
transactions_test.rb
Remove deprecated behavior that would rollback a transaction block when exited using return
, break
or throw
.
2024-02-20 21:56:51 +00:00
type_test.rb
types_test.rb
unconnected_test.rb
Ensure connection_name is used everywhere
2022-07-11 13:44:57 -04:00
unsafe_raw_sql_test.rb
Introduce adapter for Trilogy, a MySQL-compatible DB client
2023-04-17 11:49:07 -04:00
validations_repair_helper.rb
validations_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00
view_test.rb
Share already loaded fixtures across test classes
2024-02-07 17:45:32 +01:00
yaml_serialization_test.rb
[Tests only] Enable Minitest/AssertPredicate
rule
2023-10-13 19:26:47 +00:00