CollectionProxy#pluck issues no query for a new_record? owner
Fixes #8102. I couldn't find a nicer way to deal with this than delegate the call to #scope, which will be a NullRelation when we want it to be.
|@@ -1655,6 +1655,7 @@ def test_collection_association_with_private_kernel_method|
|assert_equal , post.comments|
|assert_equal , post.comments.where(body: 'omg')|
|+ assert_equal , post.comments.pluck(:body)|