aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-11-09 11:40:33 +0000
committerJon Leighton <j@jonathanleighton.com>2012-11-09 11:43:15 +0000
commit11b846eefb1e7128ae9c63035f6d559d50bd4563 (patch)
tree85deeca9c52c391d777bbbec570e5290eda5d6fc /activerecord/lib/active_record/core.rb
parentaae4f357b5dae389b91129258f9d6d3043e7631e (diff)
downloadrails-11b846eefb1e7128ae9c63035f6d559d50bd4563.tar.gz
rails-11b846eefb1e7128ae9c63035f6d559d50bd4563.tar.bz2
rails-11b846eefb1e7128ae9c63035f6d559d50bd4563.zip
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.
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
0 files changed, 0 insertions, 0 deletions