..
adapters
Should not rely on the global Arel::Table.engine
in the framework
2020-05-01 06:55:46 +09:00
arel
Refactor Arel node Casted
, Quoted
, and BindParam
2020-04-28 16:26:18 +09:00
associations
Merge pull request #39057 from kamipo/deprecate_in_clause_length
2020-04-27 15:34:29 +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
Deprecate allowed_index_name_length
in DatabaseLimits
2020-04-30 01:21:54 +09:00
relation
Deprecate in_clause_length
in DatabaseLimits
2020-04-27 01:09:09 +09:00
scoping
Improve WhereClause#ast
to make concise Arel ast
2020-04-25 18:46:10 +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 allowed_index_name_length
in DatabaseLimits
2020-04-30 01:21:54 +09:00
aggregations_test.rb
No need to handle if FrozenError is available
2018-12-23 13:26:20 +00:00
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
Allow Relation#pick to use already loaded results
2020-03-18 20:04:22 +00:00
attribute_decorators_test.rb
attribute_methods_test.rb
Remove dead test code for unsupported adapters
2020-04-12 03:30:25 +09:00
attributes_test.rb
Should find last created record
2019-06-15 08:19:31 +09:00
autosave_association_test.rb
Only assign @new_record_before_save once in autosave_association
2020-01-06 12:57:33 -05:00
base_test.rb
Use supports_datetime_with_precision?
rather than subsecond_precision_supported?
2020-04-25 02:56:53 +09: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
Address test_statement_cache_with_in_clause failure due to nondeterministic sort order
2019-06-20 15:07:58 +00: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
PostgreSQL: Use native timestamp decoders of pg-1.1
2019-01-26 20:30:43 +01:00
calculations_test.rb
Fix aggregate functions to return numeric value consistently even on custom attribute type
2020-04-25 14:16:09 +09:00
callbacks_test.rb
Don't call after_commit callbacks despite a record isn't saved
2019-04-12 09:19:03 +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
Preserve column comment on renaming column
2020-04-20 10:40:55 +02:00
connection_management_test.rb
Change the empty block style to have space inside of the block
2018-09-25 13:19:35 -04:00
connection_pool_test.rb
Deprecate spec_name
and use name
for configurations
2020-02-24 13:27:07 -05:00
core_test.rb
Update for Time#inspect
2019-09-21 16:57:39 +09: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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
date_test.rb
Rails DateTime
type is mapped to Oracle TIMESTAMP
since Rails 5.0
2019-03-03 04:55:17 +00:00
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
dirty_test.rb
Use supports_datetime_with_precision?
rather than subsecond_precision_supported?
2020-04-25 02:56:53 +09:00
disconnected_test.rb
Deprecate connection_config
2019-12-17 12:20:37 -05:00
dup_test.rb
Introduce previously_new_record? on ActiveRecord::Base
2019-05-14 13:40:28 +01:00
enum_test.rb
Add regression test for enum getter/setter behavior
2020-04-07 12:47:45 -04:00
errors_test.rb
Enable Style/RedundantBegin
cop to avoid newly adding redundant begin block
2018-12-21 06:12:42 +09:00
explain_subscriber_test.rb
Permit list usage cleanup and clearer documentation
2018-08-27 09:51:46 -04:00
explain_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09: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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
finder_test.rb
Avoid making query when using where(attr: out-of-range-value)
2020-01-27 14:26:26 +09:00
fixtures_test.rb
Should not rely on the global Arel::Table.engine
in the framework
2020-05-01 06:55:46 +09:00
forbidden_attributes_protection_test.rb
Remove duplicated protected params definitions
2019-02-24 19:50:53 +09:00
habtm_destroy_order_test.rb
Enable Style/RedundantBegin
cop to avoid newly adding redundant begin block
2018-12-21 06:12:42 +09:00
helper.rb
Use supports_datetime_with_precision?
rather than subsecond_precision_supported?
2020-04-25 02:56:53 +09:00
hot_compatibility_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
i18n_test.rb
inheritance_test.rb
Should Regexp.escape
quoted table name in regex
2019-07-08 09:32:30 +09:00
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
make AR::ConnectionAdapers::Table#remove reversible
2019-07-03 15:05:21 +09:00
json_attribute_test.rb
Use :string
instead of :text
for JsonAttributeTest
2017-12-06 08:42:51 +09:00
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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +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
Apply suggestions from review
2020-04-16 09:00:58 -07:00
migrator_test.rb
Move SchemaMigration to migration_context
2019-06-14 11:15:08 -04:00
mixin_test.rb
modules_test.rb
Fix CustomCops/AssertNot
to allow it to have failure message
2018-05-13 11:32:47 +09:00
multi_db_migrator_test.rb
Refactor schema migration on connection
2020-03-09 09:59:36 -04:00
multiparameter_attributes_test.rb
Autocorrect refute
RuboCop violations
2018-04-03 22:35:49 -04:00
multiple_db_test.rb
Deprecate "primary" as a connection_specification_name for ActiveRecord::Base
2020-01-08 16:49:41 -05:00
nested_attributes_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
nested_attributes_with_callbacks_test.rb
Use assert_predicate and assert_not_predicate
2018-01-25 23:32:59 -05:00
null_relation_test.rb
Call load_schema
before assert_no_queries
2018-10-10 09:50:22 +09:00
numeric_data_test.rb
Ensure casting by decimal attribute when querying
2018-11-12 03:39:28 +09:00
persistence_test.rb
Assert deprecation
2019-03-31 22:59:12 +08: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
Use supports_datetime_with_precision?
rather than subsecond_precision_supported?
2020-04-25 02:56:53 +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
Replace assert !
with assert_not
2018-04-19 08:11:33 -04:00
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
Use assert_queries
since we are only checking for the count
2019-09-30 22:38:00 -03:00
relations_test.rb
Fix unscope
when an eq
node which has no arel attribute
2020-02-27 18:43:56 +09:00
reload_models_test.rb
reserved_word_test.rb
Use assert_predicate and assert_not_predicate
2018-01-25 23:32:59 -05:00
result_test.rb
Deprecate ActiveRecord::Result#to_hash in favor of #to_a
2018-09-18 16:40:10 -04:00
sanitize_test.rb
Quote empty ranges like other empty enumerables
2019-03-07 19:22:29 -05:00
schema_dumper_test.rb
Remove dead test code for unsupported adapters
2020-04-12 03:30:25 +09: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
Replace assert !
with assert_not
2018-04-19 08:11:33 -04:00
serialized_attribute_test.rb
define_attribute takes keyword arguments
2019-09-15 03:05:52 +09:00
statement_cache_test.rb
activerecord: Fix statement cache for strictly cast attributes
2019-01-23 14:49:42 -05:00
statement_invalid_test.rb
Redact SQL in errors
2018-11-22 13:53:23 -05:00
store_test.rb
Add saved changes helpers for store accessors
2019-03-25 18:53:07 -04:00
strict_loading_test.rb
Support strict_loading on association declarations
2020-02-21 13:11:24 -05:00
suppressor_test.rb
Change the empty block style to have space inside of the block
2018-09-25 13:19:35 -04:00
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
Fix dirty tracking for touch
2019-04-15 13:53:58 +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
Use __id__ to dedup records for transactional callbacks
2020-04-19 22:48:55 +01:00
transaction_isolation_test.rb
Don't run concurrent transaction test on sqlite3:
2019-12-17 17:15:23 +01:00
transactions_test.rb
Merge branch 'master' into previously-new-record
2020-03-28 20:04:23 +01: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
Allow column name with function (e.g. length(title)
) as safe SQL string
2019-06-10 07:36:58 +09: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
Bump the minimum version of PostgreSQL to 9.3
2018-11-25 13:13:08 +00:00
yaml_serialization_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00