Use #pluck as a shortcut to select one or more attributes without loading a bunch of records just to grab the attributes you want. Use: Person.pluck(:name) intead of: Person.all.map(&:name)