# Get all cars with color red
Car.where( color: "red" )
users = Spree::User.where("spree_users.company IS NOT NULL")
Spree::User.where(id: 1).select('email')
Person.pluck(:id) # SELECT people.id FROM people
Person.uniq.pluck(:role) # SELECT DISTINCT role FROM people
Person.where(:confirmed => true).limit(5).pluck(:id)