..
adapters
Don't skip money's type cast for pluck and calculations
2020-12-18 18:26:25 +09:00
arel
Properly support reverse_order
on relations with nulls_first
or nulls_last
calls
2020-09-08 11:20:46 -04:00
associations
Fix find_by
with custom primary key for belongs_to association
2021-01-12 21:23:36 +09:00
attribute_methods
Remove internal attribute decoration code
2020-07-20 13:26:25 +09:00
coders
connection_adapters
Fix failing tests introduced by #41030
2021-01-08 10:20:25 -05: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
Add test that primary_key and reference columns should be identical type for add_reference
2020-11-13 20:06:42 +09:00
relation
Expose an invert_where
method that will invert all scope conditions.
2020-12-18 16:00:20 -05:00
scoping
Allow reload
to be default_scoped
2020-12-11 13:24:56 -05:00
tasks
Add test coverage for dump_filename
2020-12-29 21:16:23 +00:00
type
Should not accidentally return decorated time object after changes_applied
2020-09-01 16:26:10 +09:00
validations
allow_nil
should work for casted value in NumericalityValidator
2020-12-08 23:25:56 +09:00
adapter_prevent_writes_test.rb
Clean up preventing writes tests
2020-11-09 11:57:13 -05:00
adapter_test.rb
Remove deprecated methods from ActiveRecord::ConnectionAdapters::DatabaseLimits
2020-10-30 00:25:43 +00:00
aggregations_test.rb
annotate_test.rb
Should Regexp.escape
quoted table name in regex
2019-07-08 09:32:30 +09:00
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
Refactor ActiveRecord::Associations::Preloader class
2020-12-11 08:52:53 -05:00
attribute_methods_test.rb
Make ActiveRecord::AttributeMethods::Query respect getter overwrites in the model
2020-12-28 16:47:56 -03:00
attributes_test.rb
Unify decorate_attribute_type
and attribute
2020-11-30 15:51:19 -06:00
autosave_association_test.rb
Methods with association name are defined as public methods
2020-10-02 22:22:10 +09:00
base_prevent_writes_test.rb
Clean up preventing writes tests
2020-11-09 11:57:13 -05:00
base_test.rb
Fix connected_to_many argument and docs
2020-11-03 17:19:28 -05:00
batches_test.rb
Return rows affected from batched update_all and delete_all
2020-10-03 18:27:26 +01:00
binary_test.rb
Remove dead test code for unsupported adapters
2020-04-12 03:30:25 +09:00
bind_parameter_test.rb
Use statement cache for STI classes
2020-06-10 16:02:16 +09:00
boolean_test.rb
Type cast falsy boolean symbols on boolean attribute as false
2019-03-30 04:18:25 +09:00
cache_key_test.rb
calculations_test.rb
Test calculation with from
for all adapters
2020-09-09 19:37:58 +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
feat(rubocop): Add Style/RedundantRegexpEscape
2020-12-08 18:57:09 +00:00
connection_management_test.rb
connection_pool_test.rb
Fix preventing writes for ApplicationRecord
2021-01-06 09:19:19 -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
Remove deprecated methods from ActiveRecord::DatabaseConfigurations
2020-10-30 00:25:37 +00:00
database_selector_test.rb
Add helper method for resetting connection handlers in tests
2020-08-10 10:20:12 -04:00
database_statements_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
date_test.rb
date_time_precision_test.rb
Revert "Merge pull request #39613 from kamipo/where_with_custom_operator"
2020-07-17 21:05:48 +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
Allow delegated_type to be specified primary_key and foreign_key
2020-12-18 15:06:16 +09:00
dirty_test.rb
Promote clear_attribute_change
as attribute methods
2020-06-04 04:17:17 +09:00
disconnected_test.rb
Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning"
2020-09-14 14:02:45 +09:00
dup_test.rb
Add option for default_scope
to run on all queries
2020-12-01 11:15:08 -05:00
enum_test.rb
Should not fail if mangling enum names collision
2021-01-01 15:03:15 +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
Make sure that attribute_for_inspect respect filter_attributes
2020-12-02 23:01:34 +00:00
finder_respond_to_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
finder_test.rb
Add ActiveRecord::FinderMethods#sole
, #find_sole_by
2020-12-30 00:33:32 +11:00
fixtures_test.rb
Raise if connection_handlers is called in legacy_connection_handling
2020-11-17 08:38:05 -05:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb
Implement granular role and shard swapping
2020-10-28 15:11:35 -04:00
hot_compatibility_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
i18n_test.rb
inheritance_test.rb
move ActiveRecord::Persistance#becomes logic into initialize block
2020-09-20 10:24:19 -06:00
insert_all_test.rb
Don't over protect the MySQL users on insert_all
2020-11-04 20:26:22 +00:00
instrumentation_test.rb
Set payload name for calculation queries
2021-01-02 08:52:41 +00: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
Allow adding nonnamed expression indexes to be revertible
2020-12-11 18:24:45 +02:00
json_attribute_test.rb
json_serialization_test.rb
Merge pull request #35891 from Shopify/schema-cache-deduplication
2019-06-19 13:04:32 +02:00
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
Restore the ability that update/destroy optimistic locking object without default
2021-01-12 09:27:11 +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
marshal_serialization_test.rb
Add Active Record Marshal forward compatibility tests
2020-07-02 14:11:51 +02:00
migration_test.rb
feat(rubocop): Add Style/RedundantRegexpEscape
2020-12-08 18:57:09 +00:00
migrator_test.rb
Move SchemaMigration to migration_context
2019-06-14 11:15:08 -04:00
mixin_test.rb
modules_test.rb
Module#const_set is a public method
2020-09-15 17:19:37 +09:00
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
Association setter methods are defined as public methods
2020-10-02 22:22:10 +09:00
nested_attributes_with_callbacks_test.rb
Methods with association name are defined as public methods
2020-10-02 22:22:10 +09:00
null_relation_test.rb
Fix flaky assert queries tests
2020-05-27 08:52:44 +09:00
numeric_data_test.rb
persistence_test.rb
Remove deprecated ActiveRecord::Base#update_attributes
and ActiveRecord::Base#update_attributes!
2020-10-30 00:25:40 +00:00
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
Raise if connection_handlers is called in legacy_connection_handling
2020-11-17 08:38:05 -05:00
quoting_test.rb
Deprecate passing an Active Record object to quote
/type_cast
directly
2020-05-31 12:38:29 +09:00
readonly_test.rb
reaper_test.rb
Fix preventing writes for ApplicationRecord
2021-01-06 09:19:19 -05:00
reflection_test.rb
compute_class raise when klass is not ActiveRecord::Base subclass
2020-12-14 14:49:14 +01:00
relation_test.rb
Avoid query from exists? on contradictory relation
2020-10-14 12:30:10 -07:00
relations_test.rb
Support delegators for find_by
2020-11-13 21:56:24 +09:00
reload_models_test.rb
reserved_word_test.rb
result_test.rb
Remove deprecated ActiveRecord::Result#to_hash
method
2020-10-30 00:25:33 +00:00
sanitize_test.rb
schema_dumper_test.rb
Merge pull request #27978 from kamipo/add_blob_short_hand_method
2020-12-29 18:47:32 -05:00
schema_loading_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
secure_token_test.rb
Allow token length configuration for has_secure_token method
2019-04-09 17:25:50 -04:00
serialization_test.rb
to_json and from_json are public methods
2020-10-02 22:22:10 +09:00
serialized_attribute_test.rb
Allow default to be configured for serialization
2020-11-05 15:36:48 +09:00
signed_id_test.rb
Add more tests for find_signed/!
methods
2020-10-30 12:34:54 +02:00
statement_cache_test.rb
Reset statement cache for association if table_name is changed
2020-05-29 15:12:18 +09:00
statement_invalid_test.rb
store_test.rb
Add saved changes helpers for store accessors
2019-03-25 18:53:07 -04:00
strict_loading_test.rb
Merge pull request #40792 from ghiculescu/fixture-strict-loading
2020-12-10 20:03:00 -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
Fix spelling
2020-12-27 04:09:49 +10:00
time_precision_test.rb
Revert "Merge pull request #39613 from kamipo/where_with_custom_operator"
2020-07-17 21:05:48 +09:00
timestamp_test.rb
Allow attribute aliases for timestamp magic columns
2020-06-01 21:29:33 +09:00
touch_later_test.rb
Fix typo for touch later test description. laster -> later
2019-04-05 19:33:19 +05:30
transaction_callbacks_test.rb
Make sure the :if options of callbacks is not mutated
2020-12-29 03:56:54 +00:00
transaction_isolation_test.rb
Don't run concurrent transaction test on sqlite3:
2019-12-17 17:15:23 +01:00
transactions_test.rb
Ensure the connection used in a failed rollback is discarded
2020-11-04 17:01:07 -05: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
Remove deprecated support for using unsafe raw SQL in ActiveRecord::Relation
methods
2020-10-30 00:25:32 +00:00
validations_repair_helper.rb
validations_test.rb
Add validation to subclass in tests to avoid polluting parent class
2019-04-13 22:20:56 +09:00
view_test.rb
yaml_serialization_test.rb
Restore legacy YAML compatibility for MySQL with active_record_yaml_version: 1
2020-06-25 21:04:51 +09:00