How to Pluck Like a Rails Pro

By Eric Milford

The pluck method is a performant option to query columns from one or more tables. The ability to pass valid SQL directly makes it all the more handy.