1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases
Eileen M. Uchitelle 7684256ede
Merge pull request #44637 from fatkodima/remove_foreign_key-if_exists
Fix `remove_foreign_key` with `:if_exists` option when foreign key actually exists
2022-03-09 09:22:02 -05:00
..
adapters Rename the raw connection ivar to @raw_connection 2022-02-25 22:13:56 +10:30
arel Use nested queries when doing UPDATE in myslq and GROUP_BY and HAVING clauses are present. 2021-11-01 13:27:44 -04:00
associations solve: undefined local variable or method 'connection' 2022-01-03 21:47:43 -03:00
attribute_methods
coders
connection_adapters Squashed commit of the following: 2021-12-03 04:02:40 +00:00
database_configurations Add support for setting the schema/structure dump filepath in the config 2021-10-26 10:09:21 -04:00
encryption Merge PR #44361 2022-02-25 22:05:36 +00:00
fixture_set Validate keys in the _fixture field 2021-06-15 14:10:59 +02:00
migration Fix remove_foreign_key with :if_exists option when foreign key actually exists 2022-03-08 17:45:16 +02:00
relation Handle quoting of Rational numbers for MySQL 2022-02-12 13:02:12 -05:00
scoping Fix test case in activerecord: assert -> assert_equal 2022-02-24 14:43:58 +05:30
tasks Remove --no-comments from Postgres structure dumps 2022-03-07 12:40:12 -06:00
type Fix bug with TypeMap default values 2021-07-14 13:26:37 -04:00
validations Replace ableist language 2021-10-05 22:27:09 -04:00
active_record_schema_test.rb Dump the database schema containing the current Rails version 2022-02-07 18:58:36 +00:00
adapter_prevent_writes_test.rb Handle broken encoding in #write_query? 2021-12-09 19:41:57 +01:00
adapter_test.rb Allow open transactions to be restored upon DB reconnect 2022-03-01 01:19:33 +10:30
aggregations_test.rb
annotate_test.rb Remove requirement that SQL starts with SELECT 2021-04-21 10:11:38 +01:00
associations_test.rb Add missing :author_addresses in PreloaderTest 2021-12-15 17:38:22 +09:00
asynchronous_queries_test.rb Move async_query confurations on the ActiveRecord module 2021-06-10 18:31:33 +02:00
attribute_methods_test.rb Rename AttributeMethodMatcher to AttributeMethodPattern 2022-02-09 10:41:02 +09:00
attributes_test.rb
autosave_association_test.rb Fix error when saving an association with a relation named record 2022-01-17 21:46:54 +01:00
base_prevent_writes_test.rb Depend on ruby/debug, replacing Byebug 2021-09-08 17:35:41 +02:00
base_test.rb Add missing require to activerecord base_test.rb 2022-03-08 17:28:51 +01:00
batches_test.rb Convert many ActiveRecord::Base class variable into instance variables 2021-06-10 18:31:33 +02:00
binary_test.rb
bind_parameter_test.rb ActiveRecord::Core: improve find by cache hit rate 2021-12-23 07:19:58 -05:00
boolean_test.rb
cache_key_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
calculations_test.rb Properly quote autogenerated column aliases 2021-12-17 12:29:11 +01:00
callbacks_test.rb
clone_test.rb Add ActiveRecord::Base#previously_persisted? 2021-06-04 13:06:51 +02:00
collection_cache_key_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
column_alias_test.rb Use current_adapter? over ActiveRecord::Base.connection.adapter_name in tests 2021-02-25 13:08:08 +09:00
column_definition_test.rb
comment_test.rb Fix change_column_comment to preserve column's AUTO_INCREMENT in the MySQL adapter 2022-02-18 20:04:01 +02:00
connection_management_test.rb
connection_pool_test.rb Fiber-safe ConnectionPool 2022-01-31 15:24:41 -04:00
core_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
counter_cache_test.rb
custom_locking_test.rb
database_configurations_test.rb Squashed commit of the following: 2021-12-03 04:02:40 +00:00
database_selector_test.rb Revert "Disable automatic write protection on replicas" 2021-06-25 11:35:51 -04:00
database_statements_test.rb
date_test.rb
date_time_precision_test.rb Dump the precision for datetime columns following the new defaults 2022-02-08 01:36:06 +00:00
date_time_test.rb Fix tests for validation of default_timezone 2021-10-14 18:11:08 +00:00
defaults_test.rb Dump the precision for datetime columns following the new defaults 2022-02-08 01:36:06 +00:00
delegated_type_test.rb Add accepts_nested_attributes_for support when using delegated_type (#41717) 2021-11-03 14:10:55 +01:00
dirty_test.rb SQLite3Adapter supports default function since #43993 2022-01-02 13:04:40 +09:00
disconnected_test.rb
dup_test.rb
enum_test.rb Improve Hash vs Array asserts in assert_valid_enum_definition_values (issue #44457). 2022-02-17 17:55:41 -08:00
errors_test.rb
excluding_test.rb Fix ArgumentError message for without method 2021-05-22 18:06:19 -03: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 Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
filter_attributes_test.rb Add an assertion to the regression test 2021-03-23 21:41:36 -07:00
finder_respond_to_test.rb
finder_test.rb make Model.find_by! error consistent 2021-06-11 11:33:51 -04:00
fixtures_test.rb Use reflection_class in TableRow for fixtures 2021-11-25 17:44:14 -03:00
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Add missing requires 2022-02-17 11:13:51 +10:30
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb Restore autoloading test for STI 2021-08-22 01:13:00 +02:00
insert_all_test.rb Skip unless adapter supports insert on duplicate update 2022-01-03 10:00:40 -03:00
instrumentation_test.rb Improve the payload name for delete_all to more appropriate 2021-04-10 20:19:53 +09:00
integration_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
invalid_connection_test.rb
invertible_migration_test.rb Makes some of the activerecord tests more syntactically consistent 2022-02-23 01:47:08 +05:30
json_attribute_test.rb
json_serialization_test.rb Address intermittent CI failure due to non-determined sort order 2021-03-30 02:18:53 +09:00
json_shared_test_cases.rb Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
locking_test.rb List changed attrs in pessimistic lock error 2022-01-20 19:13:16 +01:00
log_subscriber_test.rb Report async queries lock wait duration 2021-06-25 13:59:47 +02:00
marshal_serialization_test.rb Update the marshalized object fixtures' version from 6.0 to 6.1 2021-02-18 17:04:15 +09:00
migration_test.rb Fix: respect the mysql auto_increment setting 2022-02-23 14:09:10 -08:00
migrator_test.rb Sort migration ID as int in db:migrate:status for consistency. 2021-07-16 13:10:31 -05:00
mixin_test.rb
modules_test.rb
multi_db_migrator_test.rb
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
nested_attributes_test.rb Add accepts_nested_attributes_for support when using delegated_type (#41717) 2021-11-03 14:10:55 +01:00
nested_attributes_with_callbacks_test.rb
null_relation_test.rb Avoid running async queries on null relations 2021-05-17 21:34:41 +01:00
numeric_data_test.rb
persistence_test.rb Add ActiveRecord::Persistence#update_attribute! 2022-01-11 15:42:27 -06:00
pooled_connections_test.rb
prepared_statement_status_test.rb
primary_class_test.rb Make application_record_class a module instance variable 2021-06-10 18:24:38 +02:00
primary_keys_test.rb Dump the precision for datetime columns following the new defaults 2022-02-08 01:36:06 +00:00
query_cache_test.rb Implicitly assert no exception is raised in assert_queries & al 2022-02-19 09:11:14 +01:00
query_logs_test.rb Remove requirement that query ends with comments 2022-01-03 10:17:33 -03:00
quoting_test.rb Make #to_fs the default replacement for #to_s(:format) 2022-02-07 12:41:21 +01:00
readonly_test.rb
reaper_test.rb Expose role/shard on pool/connection 2021-11-23 10:06:23 -05:00
reflection_test.rb Derive foreign key from model name in has_many associations 2021-05-12 15:21:31 -04:00
relation_test.rb Sort the results as order not guaranteed 2022-01-13 16:31:36 +00:00
relations_test.rb Ensure Contract#metadata is reliably orderable 2022-02-26 03:39:02 +10:30
reload_models_test.rb
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 [AR] Fix typo of disallow_raw_sql! exception msg 2021-06-28 10:22:30 +08:00
schema_dumper_test.rb Reverse the order of INSERT statements in structure.sql dumps 2022-02-08 15:55:36 -06:00
schema_loading_test.rb
secure_password_test.rb Fix assert_called_with with empty args array 2021-12-08 12:15:36 -06:00
secure_token_test.rb
serialization_test.rb
serialized_attribute_test.rb
shard_selector_test.rb Add automatic shard swapping middleware 2021-11-18 08:18:45 -05:00
signed_id_test.rb
statement_cache_test.rb Makes some of the activerecord tests more syntactically consistent 2022-02-23 01:47:08 +05:30
statement_invalid_test.rb
store_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
strict_loading_test.rb Address "NameError: Rails couldn't find a valid model for Club association" 2021-08-05 12:40:19 +09:00
suppressor_test.rb
test_case.rb Implicitly assert no exception is raised in assert_queries & al 2022-02-19 09:11:14 +01:00
test_databases_test.rb
test_fixtures_test.rb Make legacy_connection_handling a module instance variable 2021-06-10 15:00:20 +02:00
time_precision_test.rb
timestamp_test.rb Fix failing tests due to datetime with precision is not supported on MySQL 5.5 2021-10-14 18:18:54 +09:00
touch_later_test.rb
transaction_callbacks_test.rb
transaction_isolation_test.rb
transactions_test.rb Re-deprecate return/throw exits from transactions 2022-03-03 23:48:45 +10:30
type_test.rb
types_test.rb
unconnected_test.rb
unsafe_raw_sql_test.rb Allow column name with COLLATE (e.g., title COLLATE "C") as safe SQL string 2022-02-12 20:52:24 +09:00
validations_repair_helper.rb
validations_test.rb
view_test.rb
yaml_serialization_test.rb Remove deprecated support to YAML load ActiveRecord::Base instance in the Rails 4.2 and 4.1 formats 2021-11-17 21:51:35 +00:00