We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e2b71 commit c28bb50Copy full SHA for c28bb50
test/cases/eager_test_sqlserver.rb
@@ -15,7 +15,7 @@ class EagerAssociationTest < ActiveRecord::TestCase
15
fixtures :posts, :comments, :authors
16
17
def test_coerced_count_with_include
18
- assert_equal 3, authors(:david).posts_with_comments.where("len(comments.body) > 15").count
+ assert_equal 3, authors(:david).posts_with_comments.where("len(comments.body) > 15").references(:comments).count
19
end
20
21
0 commit comments