I'm using acts_as_taggable_on and I want to get a list of unique
taggings. How can I do this? In a more general sense, say that I have
a Product model with attributes name and price. I have these:

id: 1
Name: Juice
Price: 5

id: 2
Name: Juice
Price: 5

So when I do a Product.find(:all) I'll get both, but I only want one.
How can I do this so that no matter now many "duplicates" there are,
I'll only get one PLUS all the other UNIQUE products?
--~--~---------~--~----~------------~-------~--~----~
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@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