I have a searchbox to search for products. Each product has a title and is tagged with multiple tags.
I want to be able to search for products by title or tag. In other words if I have a product called "Green Tea" and another product tagged "green, red, blue" and I type "green" into the searchbox, I'd like both products to appear in the search results.
I am using Rails 3, acts_as_taggable_on, Ruby 1.9.2.