Rails Quick Tips - ActiveRecord::Calculations.pluck
Pluck is an ActiveRecord calculation method introduced in Nov 2011 and is designed to return a collection of values by performing a single column SELECT query as direct SQL.
Now what problem could this help solve and how does it affect us?
blog.hashrocket.com