rails/activerecord/test/cases
Ryuta Kamizono 4f95ff7840 Fix preloading for polymorphic association with custom scope
#39378 has changed to use `build_scope` in `join_scopes`, which rely on
`reflection.klass`, but `reflection.klass` is restricted for polymorphic
association, the klass for the association should be passed explicitly.
2020-05-26 04:07:28 +09:00
..
adapters Merge pull request #39408 from kamipo/remove_limit_on_enum 2020-05-25 19:08:47 +09:00
arel Do not need explicit handler for InfixOperation's subclasses 2020-05-18 08:18:55 +09:00
associations Fix preloading for polymorphic association with custom scope 2020-05-26 04:07:28 +09:00
attribute_methods Remove ActiveRecord::DefineCallbacks module 2020-04-10 06:46:06 +01:00
coders
connection_adapters Update SchemaCacheTest#schema_dump_path 2020-04-14 10:43:47 -04:00
database_configurations Remove owner_name 2020-03-07 09:00:43 -05:00
fixture_set Extract internal ActiveSupport::ConfigurationFile object 2020-02-10 02:50:12 +01:00
migration Fix index options for if_not_exists/if_exists 2020-05-19 16:19:22 -04:00
relation merge(..., rewhere: true) should have the ability to overwrite non-attribute nodes 2020-05-25 07:21:32 +09:00
scoping Do not use object_id on Active Record object directly 2020-05-24 11:08:24 +09:00
tasks Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
type Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
validations Add scale support to ActiveRecord::Validations::NumericalityValidator 2020-01-13 11:00:22 -05:00
adapter_test.rb Deprecate passing a column to type_cast 2020-05-02 07:18:30 +09:00
aggregations_test.rb
annotate_test.rb
ar_schema_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
associations_test.rb loaded should be aliased to loaded? in collection proxy 2020-05-20 22:25:29 +09:00
attribute_decorators_test.rb
attribute_methods_test.rb Add DATE_FORMATS[:inspect] 2020-05-06 15:05:02 -05:00
attributes_test.rb
autosave_association_test.rb save and save! doesn't take positional arguments 2020-05-05 16:51:21 +09:00
base_test.rb Add test for slug to ID with ID is out of range 2020-05-01 12:45:29 -04:00
batches_test.rb Support order DESC for find_each, find_in_batches and in_batches 2020-03-24 12:11:27 -07:00
binary_test.rb Remove dead test code for unsupported adapters 2020-04-12 03:30:25 +09:00
bind_parameter_test.rb Should not substitute binds when prepared_statements: true 2020-05-10 21:59:27 +09:00
boolean_test.rb
cache_key_test.rb
calculations_test.rb Deprecate aggregations with group by duplicated fields 2020-05-24 03:11:53 +09:00
callbacks_test.rb Dogfooding "active_support/core_ext/symbol/starts_ends_with" 2020-05-06 14:19:25 +09:00
clone_test.rb Merge branch 'master' into previously-new-record 2020-03-28 20:04:23 +01:00
collection_cache_key_test.rb Merge pull request #38099 from alipman88/avoid_unecessary_query_if_cache_versioning_enabled 2020-01-06 08:52:41 -05:00
column_alias_test.rb
column_definition_test.rb
comment_test.rb Separate primary key column options from table options 2020-05-24 08:15:39 +09:00
connection_management_test.rb
connection_pool_test.rb Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
core_test.rb Add DATE_FORMATS[:inspect] 2020-05-06 15:05:02 -05:00
counter_cache_test.rb touch_attributes_with_time takes keyword arguments 2020-04-17 18:55:58 +09:00
custom_locking_test.rb
database_configurations_test.rb Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
database_selector_test.rb Allow updating the database selector context with the response 2020-01-16 19:25:22 +01:00
database_statements_test.rb
date_test.rb
date_time_precision_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
date_time_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
defaults_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
delegated_type_test.rb Add delegated type to Active Record (#39341) 2020-05-23 15:14:40 -07:00
dirty_test.rb Address InnerJoinAssociationTest#test_eager_load_with_string_joins failure with mysql2 2020-05-11 08:15:36 +09:00
disconnected_test.rb Deprecate connection_config 2019-12-17 12:20:37 -05:00
dup_test.rb
enum_test.rb Fix pluck to correctly type cast same column names and association columns 2020-05-13 20:24:42 +09:00
errors_test.rb
explain_subscriber_test.rb
explain_test.rb Remove obsolete explain logging test 2020-05-05 02:24:53 +01:00
filter_attributes_test.rb Fix Active Record attribute filtering test on Ruby 2.7 2019-12-19 16:16:13 +01:00
finder_respond_to_test.rb
finder_test.rb Test actual query and result 2020-05-04 21:55:27 +09:00
fixtures_test.rb Only run on SQlite3 2020-05-13 16:12:33 -04:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Active Record uses singleton class eval in tests 2020-05-10 03:43:05 +09:00
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb
insert_all_test.rb Should not rely on the global Arel::Table.engine in the framework 2020-05-01 06:55:46 +09:00
instrumentation_test.rb Include connection in cached query notifications 2019-10-01 00:35:32 +01:00
integration_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
invalid_connection_test.rb
invertible_migration_test.rb
json_attribute_test.rb
json_serialization_test.rb
json_shared_test_cases.rb Fixes TypeError raised for parameter filter if the json data has key as integer 2020-02-28 17:27:58 +09:00
locking_test.rb Do not use object_id on Active Record object directly 2020-05-24 11:08:24 +09:00
log_subscriber_test.rb Disable colorize logging of SQL and reduce unnecessary invokation of sql_color matching 2020-03-11 11:06:08 +05:30
migration_test.rb Fix rename column in bulk alter table for PostgreSQL 2020-05-18 11:14:29 +09:00
migrator_test.rb
mixin_test.rb
modules_test.rb
multi_db_migrator_test.rb Refactor schema migration on connection 2020-03-09 09:59:36 -04:00
multiparameter_attributes_test.rb
multiple_db_test.rb Removes require_dependency from the AR test suite 2020-05-06 09:01:38 +02:00
nested_attributes_test.rb Do not use object_id on Active Record object directly 2020-05-24 11:08:24 +09:00
nested_attributes_with_callbacks_test.rb
null_relation_test.rb
numeric_data_test.rb
persistence_test.rb
pooled_connections_test.rb Remove dead code in tests 2020-04-11 17:41:40 +01:00
prepared_statement_status_test.rb Fix test failure if prepared_statements is flipped 2020-01-03 18:51:15 +09:00
primary_keys_test.rb Separate primary key column options from table options 2020-05-24 08:15:39 +09:00
query_cache_test.rb Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
quoting_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
readonly_test.rb
reaper_test.rb Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
reflection_test.rb Silence method redefined warnings 2019-09-17 15:53:36 +09:00
relation_test.rb Fix AR::Relation#where_values_hash with HomogeousIn: 2020-05-15 01:39:19 +02:00
relations_test.rb Do not use object_id on Active Record object directly 2020-05-24 11:08:24 +09:00
reload_models_test.rb
reserved_word_test.rb
result_test.rb
sanitize_test.rb
schema_dumper_test.rb Remove dead test code for unsupported adapters 2020-04-12 03:30:25 +09:00
schema_loading_test.rb
secure_token_test.rb
serialization_test.rb
serialized_attribute_test.rb define_attribute takes keyword arguments 2019-09-15 03:05:52 +09:00
signed_id_test.rb Take primay_key in count in ActiveRecord::SignedId (#39404) 2020-05-23 14:36:06 -07:00
statement_cache_test.rb
statement_invalid_test.rb
store_test.rb
strict_loading_test.rb Support strict_loading on association declarations 2020-02-21 13:11:24 -05:00
suppressor_test.rb
test_case.rb Check that entire collection has been loaded before short circuiting 2019-11-19 15:32:36 -06:00
test_databases_test.rb Rename 'db' to 'test/db' in Active Record's tests 2020-03-03 13:31:12 +00:00
test_fixtures_test.rb Enable Layout/ClosingHeredocIndentation cop 2019-11-24 09:44:32 +09:00
time_precision_test.rb Use supports_datetime_with_precision? rather than subsecond_precision_supported? 2020-04-25 02:56:53 +09:00
timestamp_test.rb
touch_later_test.rb
transaction_callbacks_test.rb Remove internal without_transaction_enrollment callbacks 2020-05-01 23:32:26 +09:00
transaction_isolation_test.rb Don't run concurrent transaction test on sqlite3: 2019-12-17 17:15:23 +01:00
transactions_test.rb Remove sync_with_transaction_state to simplify code base 2020-05-17 20:57:32 +09:00
type_test.rb
types_test.rb
unconnected_test.rb Deprecate "primary" as a connection_specification_name for ActiveRecord::Base 2020-01-08 16:49:41 -05:00
unsafe_raw_sql_test.rb
validations_repair_helper.rb
validations_test.rb
view_test.rb
yaml_serialization_test.rb