Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1) Error:
CascadedEagerLoadingTest#test_cascaded_eager_association_loading_with_duplicated_includes:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb:64:in `block in test_cascaded_eager_association_loading_with_duplicated_includes'
/Users/aaron/git/rails/activesupport/lib/active_support/test_case.rb:63:in `assert_nothing_raised'
/Users/aaron/git/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb:63:in `test_cascaded_eager_association_loading_with_duplicated_includes'
2) Error:
CascadedEagerLoadingTest#test_cascaded_eager_association_loading_with_twice_includes_edge_cases:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb:72:in `block in test_cascaded_eager_association_loading_with_twice_includes_edge_cases'
/Users/aaron/git/rails/activesupport/lib/active_support/test_case.rb:63:in `assert_nothing_raised'
/Users/aaron/git/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb:71:in `test_cascaded_eager_association_loading_with_twice_includes_edge_cases'
3) Error:
EagerAssociationTest#test_count_eager_with_has_many_and_limit_and_high_offset:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:576:in `test_count_eager_with_has_many_and_limit_and_high_offset'
4) Error:
EagerAssociationTest#test_count_with_include:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:933:in `test_count_with_include'
5) Error:
EagerAssociationTest#test_eager_count_performed_on_a_has_many_association_with_multi_table_conditional:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:588:in `test_eager_count_performed_on_a_has_many_association_with_multi_table_conditional'
6) Error:
EagerAssociationTest#test_eager_count_performed_on_a_has_many_through_association_with_multi_table_conditional:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_association.rb:232:in `count'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_proxy.rb:701:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:594:in `test_eager_count_performed_on_a_has_many_through_association_with_multi_table_conditional'
7) Error:
EagerAssociationTest#test_eager_with_has_many_and_limit_and_conditions_array_on_the_eagers:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/lib/active_record/relation.rb:241:in `size'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:547:in `test_eager_with_has_many_and_limit_and_conditions_array_on_the_eagers'
8) Error:
EagerAssociationTest#test_eager_with_has_many_and_limit_and_conditions_on_the_eagers:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:638:in `test_eager_with_has_many_and_limit_and_conditions_on_the_eagers'
9) Error:
EagerAssociationTest#test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:658:in `block in test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers'
/Users/aaron/git/rails/activerecord/lib/active_record/relation.rb:286:in `scoping'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:656:in `test_eager_with_has_many_and_limit_and_scoped_conditions_on_the_eagers'
10) Error:
EagerAssociationTest#test_eager_with_multi_table_conditional_properly_counts_the_records_when_using_size:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/has_many_association.rb:63:in `count_records'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_association.rb:298:in `size'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_proxy.rb:729:in `size'
/Users/aaron/git/rails/activerecord/test/cases/associations/eager_test.rb:707:in `test_eager_with_multi_table_conditional_properly_counts_the_records_when_using_size'
11) Error:
HasManyAssociationsTest#test_get_ids_ignores_include_option:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_association.rb:56:in `ids_reader'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/builder/collection_association.rb:66:in `readers_with_person_ids'
/Users/aaron/git/rails/activerecord/test/cases/associations/has_many_associations_test.rb:1289:in `test_get_ids_ignores_include_option'
12) Error:
HasManyThroughAssociationsTest#test_get_collection_singular_ids_on_has_many_through_with_conditions_and_include:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_association.rb:56:in `ids_reader'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/builder/collection_association.rb:66:in `posts_with_no_comment_ids'
/Users/aaron/git/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:959:in `test_get_collection_singular_ids_on_has_many_through_with_conditions_and_include'
13) Error:
HasManyThroughAssociationsTest#test_get_ids_for_has_many_through_with_conditions_should_not_preload:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/collection_association.rb:56:in `ids_reader'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/builder/collection_association.rb:66:in `misc_tag_ids'
/Users/aaron/git/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:727:in `test_get_ids_for_has_many_through_with_conditions_should_not_preload'
14) Error:
InnerJoinAssociationTest#test_join_conditions_allow_nil_associations:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/associations/inner_join_association_test.rb:51:in `test_join_conditions_allow_nil_associations'
15) Error:
CalculationsTest#test_maximum_with_not_auto_table_name_prefix_if_column_included:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:58:in `maximum'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:438:in `test_maximum_with_not_auto_table_name_prefix_if_column_included'
16) Error:
CalculationsTest#test_minimum_with_not_auto_table_name_prefix_if_column_included:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:47:in `minimum'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:444:in `test_minimum_with_not_auto_table_name_prefix_if_column_included'
17) Error:
CalculationsTest#test_pluck_if_table_included:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:522:in `test_pluck_if_table_included'
18) Error:
CalculationsTest#test_pluck_not_auto_table_name_prefix_if_column_included:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:552:in `test_pluck_not_auto_table_name_prefix_if_column_included'
19) Error:
CalculationsTest#test_pluck_with_includes_limit_and_empty_result:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:546:in `test_pluck_with_includes_limit_and_empty_result'
20) Error:
CalculationsTest#test_pluck_with_multiple_columns_and_includes:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:158:in `pluck'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:577:in `test_pluck_with_multiple_columns_and_includes'
21) Error:
CalculationsTest#test_should_get_maximum_of_field_with_include:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:58:in `maximum'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:62:in `test_should_get_maximum_of_field_with_include'
22) Error:
CalculationsTest#test_should_perform_joined_include_when_referencing_included_tables:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:333:in `test_should_perform_joined_include_when_referencing_included_tables'
23) Error:
CalculationsTest#test_sum_with_not_auto_table_name_prefix_if_column_included:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:67:in `sum'
/Users/aaron/git/rails/activerecord/test/cases/calculations_test.rb:450:in `test_sum_with_not_auto_table_name_prefix_if_column_included'
24) Failure:
ActiveRecord::MigratorTest#test_relative_migrations [/Users/aaron/git/rails/activerecord/test/cases/migrator_test.rb:102]:
should find pending migration
25) Error:
DefaultScopingTest#test_default_scope_include_with_count:
RuntimeError:
/Users/aaron/git/rails/activerecord/lib/active_record/associations/alias_tracker.rb:13:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/associations/join_dependency.rb:96:in `initialize'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `new'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:346:in `construct_join_dependency'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/finder_methods.rb:350:in `construct_relation_for_association_calculations'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:109:in `calculate'
/Users/aaron/git/rails/activerecord/lib/active_record/relation/calculations.rb:26:in `count'
/Users/aaron/git/rails/activerecord/test/cases/scoping/default_scoping_test.rb:378:in `test_default_scope_include_with_count'
3920 runs, 10914 assertions, 1 failures, 24 errors, 1 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment