RubyFlow The Ruby and Rails community linklog

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?

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in