for a current project i''m working on, there are certain actions which trigger emails to be sent out to users. currently i''m using something like users = User.find(:all, :conditions => ''....'') and then looping through all of the users in the collection and adding their email address to an array. i''m sure there has got to be an easier way to extract just that column of information to either a hash or any array right? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---