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
Chris Holmes f8ab3ae18f Raise error when has_many through is defined before through association
https://github.com/rails/rails/issues/26834

This change raises an error if a has_many through association
is defined before the through association.
2017-01-04 11:56:08 +00:00
..
adapters Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
associations Raise error when has_many through is defined before through association 2017-01-04 11:56:08 +00:00
attribute_methods Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
coders applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
connection_adapters #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
connection_specification Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
fixture_set Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
migration Raises when ActiveRecord::Migration is inherited directly. 2016-12-29 17:53:04 -05:00
relation Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
scoping Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
tasks Remove duplicated test 2017-01-02 16:30:56 +01:00
type Moved database-specific ActiveModel types into ActiveRecord 2016-10-14 20:21:20 +01:00
validations fix the uniqueness validation scope with a polymorphic association 2016-11-26 18:49:00 +03:00
adapter_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
aggregations_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
ar_schema_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
associations_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
attribute_decorators_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
attribute_methods_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
attribute_set_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
attribute_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
attributes_test.rb Make the second argument to attribute optional 2016-11-30 12:47:31 -05:00
autosave_association_test.rb Should not update children when the parent creation with no reason 2016-12-29 16:24:57 +09:00
base_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
batches_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
binary_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
bind_parameter_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
cache_key_test.rb
calculations_test.rb Remove deprecated #uniq, #uniq!, and #uniq_value 2016-12-30 21:29:18 +09:00
callbacks_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
clone_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
collection_cache_key_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
column_alias_test.rb revises most Lint/EndAlignment offenses 2016-08-07 23:41:00 +02:00
column_definition_test.rb Remove text default treated as an empty string in non-strict mode 2016-08-19 12:11:26 +09:00
comment_test.rb Fix that change_column lose a comment 2016-12-05 07:16:08 +09:00
connection_management_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
connection_pool_test.rb Fix Rubocop violations and fix documentation visibility 2016-12-28 21:53:51 -05:00
core_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
counter_cache_test.rb Fix update counters of multiple records with touch: true 2017-01-03 01:40:04 +09:00
custom_locking_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
database_statements_test.rb Remove deprecated #insert_sql, #update_sql, and #delete_sql 2016-12-30 21:14:59 +09:00
date_test.rb remove redundant curlies from hash arguments 2016-08-06 19:44:11 +02:00
date_time_precision_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
date_time_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
defaults_test.rb Translate NOT NULL violation to the specific exception 2016-12-06 16:51:20 +09:00
dirty_test.rb Deprecate the behavior of AR::Dirty inside of after_(create|update|save) callbacks 2016-11-01 13:16:33 -04:00
disconnected_test.rb
dup_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
enum_test.rb Add tests for ActiveRecord::Enum#enum when suffix specified 2016-09-12 08:52:02 +09:00
errors_test.rb Raise when a through association has an ambiguous reflection name 2016-12-29 17:53:04 -05:00
explain_subscriber_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
explain_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
finder_respond_to_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
finder_test.rb Fix find_by and where consistency 2017-01-04 12:27:44 +09:00
fixtures_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
forbidden_attributes_protection_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
habtm_destroy_order_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
helper.rb Set time as a timezone aware type and remove related deprecation 2016-12-29 17:53:03 -05:00
hot_compatibility_test.rb Fix broken comments indentation caused by rubocop auto-correct [ci skip] 2016-09-14 18:26:32 +09:00
i18n_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
inheritance_test.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
integration_test.rb "Use assert_nil if expecting nil. This will fail in minitest 6." 2016-12-25 02:29:52 +09:00
invalid_connection_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
invertible_migration_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
json_serialization_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
locking_test.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
log_subscriber_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
migration_test.rb Privatize unneededly protected methods in Active Record tests 2016-12-24 00:15:31 +09:00
migrator_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
mixin_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
modules_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
multiparameter_attributes_test.rb fix datatime error 2016-11-01 18:17:26 -07:00
multiple_db_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
nested_attributes_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
nested_attributes_with_callbacks_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
persistence_test.rb fixing update_all and delete_all when chained with left_joins. fixes #27192 2016-11-27 19:47:51 -02:00
pooled_connections_test.rb normalizes indentation and whitespace across the project 2016-08-06 20:16:27 +02:00
primary_keys_test.rb Remove useless test_supports_primary_key 2016-12-19 11:10:05 +09:00
query_cache_test.rb Merge pull request #25460 from maclover7/jm-uncached 2017-01-03 18:43:16 -05:00
quoting_test.rb Remove deprecated support to passing a column to #quote 2016-12-29 17:53:03 -05:00
readonly_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
reaper_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
reflection_test.rb Cache results of computing model type 2017-01-03 19:02:38 +05:00
relation_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
relations_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
reload_models_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
result_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
sanitize_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
schema_dumper_test.rb Consolidate duplicated elsif branch 2016-12-19 13:26:04 +09:00
schema_loading_test.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
secure_token_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
serialization_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
serialized_attribute_test.rb assert_equal takes expectation first 2016-12-26 11:04:56 +09:00
statement_cache_test.rb Add Style/EmptyLines in .rubocop.yml and remove extra empty lines 2016-08-07 17:50:59 +09:00
store_test.rb modernizes hash syntax in activerecord 2016-08-06 19:37:57 +02:00
suppressor_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
test_case.rb Add more rubocop rules about whitespaces 2016-10-29 01:17:49 -02:00
test_fixtures_test.rb Remove deprecated #use_transactional_fixtures configuration 2016-12-29 17:53:04 -05:00
time_precision_test.rb applies remaining conventions across the project 2016-08-06 20:20:22 +02:00
timestamp_test.rb Push current_time_from_proper_timezone and timestamp attributes methods up to class method 2017-01-03 04:34:43 +09:00
touch_later_test.rb Merge pull request #26183 from Shopify/fix-no-touching-touch-later 2016-08-16 12:57:55 -03:00
transaction_callbacks_test.rb Emulate db trigger behaviour for after_commit :destroy, :update 2016-12-09 11:14:37 -05:00
transaction_isolation_test.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00
transactions_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00
type_test.rb
types_test.rb applies new string literal convention in activerecord/test 2016-08-06 18:26:53 +02:00
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb Creating a new Topic class instead of class_eval for the existing one 2016-08-11 15:38:40 +00:00
view_test.rb #tables and #table_exists? and returns only tables and not views 2016-12-29 17:53:04 -05:00
yaml_serialization_test.rb Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-superuser-privileges" 2017-01-03 22:11:16 -05:00