On Feb 16, 7:10 am, rahtha <[email protected]> wrote: > I have two arrays and i want to get all items which are NOT common to > both, so basically if i have two arrays A and B, i want all elements > in A that are not in B. what is the best way to do this apart from > using two nested loops. > A - B ?
-- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

