..
adapters
Allow bulk alter to drop and recreate named index
2019-09-10 00:26:14 +01:00
arel
Fix comments to update mysql version in reference URL [ci skip]
2019-09-06 09:54:16 +09:00
associations
Deduplicate joins values
2019-08-02 03:35:44 +09:00
attribute_methods
Add AR::Base.base_class? predicate
2018-04-02 14:34:32 +03:00
coders
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
connection_adapters
Move tests that does not rely on forking out of fork
conditional.
2019-08-21 15:27:41 +08:00
connection_specification
Raise TypeError instead of infinite looping
2019-08-02 15:58:42 -07:00
fixture_set
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
migration
Allow bulk alter to drop and recreate named index
2019-09-10 00:26:14 +01:00
relation
Clear ActiveRecord object memoized by take
2019-08-20 00:54:03 +05:30
scoping
Association loading isn't to be affected by null relation scoping
2019-04-06 11:37:34 +09:00
tasks
Move DatabaseAlreadyExists detection to DB adapter
2019-07-29 08:40:57 -07:00
type
Fix year value when casting a multiparameter time hash
2019-01-21 09:23:12 +00:00
validations
Move the ActiveModel:Errors#full_message
method to the Error
class:
2019-07-16 14:28:38 +02:00
adapter_test.rb
Move while_preventing_writes from conn to handler
2019-06-14 16:11:36 -04: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
Move SchemaMigration to migration_context
2019-06-14 11:15:08 -04:00
associations_test.rb
Add Relation#annotate for SQL commenting
2019-03-21 20:30:56 -07:00
attribute_decorators_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
attribute_methods_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
attributes_test.rb
Should find last created record
2019-06-15 08:19:31 +09:00
autosave_association_test.rb
Don't validate non dirty association targets
2019-07-15 18:21:20 +01:00
base_test.rb
Allow inspected records to be marshaled
2019-09-07 23:45:38 +01:00
batches_test.rb
Should Regexp.escape
quoted table name in regex
2019-07-08 09:32:30 +09:00
binary_test.rb
Enable Performance/UnfreezeString
cop
2018-09-23 08:56:55 +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 typo in test name
2019-08-07 13:46:15 -03: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
Fix CustomCops/AssertNot
to allow it to have failure message
2018-05-13 11:32:47 +09:00
collection_cache_key_test.rb
Revert "Deprecate collection_cache_key
which is private API"
2019-04-19 23:54:25 +09:00
column_alias_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
column_definition_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
comment_test.rb
Fix invalid schema dump when primary key column has a comment
2019-06-03 08:35:36 -03: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
Make ActiveRecord ConnectionPool.connections
thread-safe. ( #36473 )
2019-06-13 14:23:13 -04:00
core_test.rb
Fix inspect with non-primary key id attribute
2018-11-06 01:51:52 +00:00
counter_cache_test.rb
Enable Lint/UselessAssignment
cop to avoid unused variable warnings ( #34904 )
2019-01-09 18:09:01 +09:00
custom_locking_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
database_configurations_test.rb
Avoid to use a method that acts on the hash
2019-07-27 17:26:42 +09:00
database_selector_test.rb
Extend test_can_write_while_reading_from_replicas_if_explicit
2019-08-30 17:46:21 +03: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
Raise ArgumentError
for invalid :limit
and :precision
like as other options
2019-04-07 16:14:42 +09:00
date_time_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
defaults_test.rb
Cache database version in schema cache
2019-04-03 11:10:14 -04:00
dirty_test.rb
Address DEPRECATED: Use assert_nil if expecting nil
2019-08-03 02:27:56 +00:00
disconnected_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
dup_test.rb
Fix CustomCops/AssertNot
to allow it to have failure message
2018-05-13 11:32:47 +09:00
enum_test.rb
Add silence_warnings
for defining 'not_' prefix enum elements
2019-07-30 04:54:55 +09: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
Enable Style/RedundantBegin
cop to avoid newly adding redundant begin block
2018-12-21 06:12:42 +09:00
finder_respond_to_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
finder_test.rb
Fix relation.exists?
with giving distinct
, offset
and order
for joined table
2019-07-10 22:53:52 +09:00
fixtures_test.rb
Stop trying to read yaml file fixtures when loading Active Record fixtures
2019-08-09 14:24:59 -04: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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
hot_compatibility_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
i18n_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
inheritance_test.rb
Should Regexp.escape
quoted table name in regex
2019-07-08 09:32:30 +09:00
insert_all_test.rb
handle passing in primary key to unique_by, and handle primary keys missing indexes
2019-08-05 02:39:52 +02:00
instrumentation_test.rb
Add insert_all to ActiveRecord models ( #35077 )
2019-03-05 11:16:44 -08:00
integration_test.rb
Remove ability to specify a timestamp name for #cache_key
2019-01-17 16:08:32 -05:00
invalid_connection_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
invertible_migration_test.rb
make change_column_comment and change_table_comment invertible
2019-04-15 08:43:22 +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
Deprecate update_attributes and update_attributes!
2018-02-17 13:58:54 -08:00
locking_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
log_subscriber_test.rb
Omit BEGIN/COMMIT statements for empty transactions
2018-08-13 16:51:54 +01:00
migration_test.rb
Allow bulk alter to drop and recreate named index
2019-09-10 00:26:14 +01:00
migrator_test.rb
Move SchemaMigration to migration_context
2019-06-14 11:15:08 -04:00
mixin_test.rb
Merge pull request #29860 from georgeclaghorn/travel-back-automatically
2017-07-24 01:01:25 -04:00
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
Move SchemaMigration to migration_context
2019-06-14 11:15:08 -04:00
multiparameter_attributes_test.rb
Autocorrect refute
RuboCop violations
2018-04-03 22:35:49 -04:00
multiple_db_test.rb
Enable Style/RedundantBegin
cop to avoid newly adding redundant begin block
2018-12-21 06:12:42 +09: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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
prepared_statement_status_test.rb
Make prepared statement status thread and instance-specific
2019-08-16 02:11:19 -04:00
primary_keys_test.rb
PERF: 20% faster pk attribute access
2019-04-22 14:41:00 +09:00
query_cache_test.rb
Clear query cache when insert all is used
2019-09-09 00:55:16 +01:00
quoting_test.rb
Normalize time value not to be affected by summer time
2018-07-25 09:46:39 +09:00
readonly_test.rb
Replace assert !
with assert_not
2018-04-19 08:11:33 -04:00
reaper_test.rb
Fix ConnectionPool::Reaper
reaping parent connection pools after fork.
2019-08-24 14:26:50 +08:00
reflection_test.rb
Ensure custom PK types are casted in through reflection queries
2019-08-07 16:27:33 -04:00
relation_test.rb
[ActiveRecord] Deduplicate optimizer hints
2019-07-19 11:52:39 +01:00
relations_test.rb
Add a test for select argument error with block
2019-09-04 10:25:05 +09:00
reload_models_test.rb
Merge remote-tracking branch 'origin/master' into unlock-minitest
2017-08-01 17:34:14 -04:00
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
Revert schema dumper to use strings rather than integers
2019-06-20 14:00:42 +02:00
schema_loading_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
secure_token_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
serialization_test.rb
Replace assert !
with assert_not
2018-04-19 08:11:33 -04:00
serialized_attribute_test.rb
Remove unused requires
2019-03-01 16:49:38 +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
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
Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now"
2019-08-02 00:24:21 -04:00
test_fixtures_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
time_precision_test.rb
Raise ArgumentError
for invalid :limit
and :precision
like as other options
2019-04-07 16:14:42 +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
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
transaction_isolation_test.rb
Change the empty block style to have space inside of the block
2018-09-25 13:19:35 -04:00
transactions_test.rb
Enable Layout/EmptyLinesAroundAccessModifier
cop
2019-06-13 12:00:45 +09:00
type_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
types_test.rb
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
unconnected_test.rb
Clean up AR's isolated test runner
2019-03-05 02:02:41 +10:30
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
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
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