Please sign in to comment.
Refactor pluck with multiple columns
Ensure it works with mix of symbols and strings, and with a select clause possibly containing more than one column. Also remove support for pluck with an array of columns, in favor of passing the list of attributes: Model.pluck(:a, :b) See comments: #6500 (comment)
- Loading branch information...
Showing with 29 additions and 36 deletions.