rahtha wrote:
> Nope don't care about that case just the ones in A that are not in B

Well, then it's what Frederick said.


irb(main):065:0> a = [1,2,3]
=> [1, 2, 3]
irb(main):066:0> b = [2,4,6]
=> [2, 4, 6]
irb(main):067:0> a-b
=> [1, 3]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to