Hash[*User.all.collect{|u|[u.id,u.email]}.flatten] # {1=>"foo@gmail.com", 2=>"bar@gmail.com", 3=>"baz@inmunited.com"}