Ruby on Rails: Acts as Taggable searching like terms
I'd like to search tags that has similar terms. For instance if there's a tag that has two words, christmas shopping, I'd like to search all that has similar tags with christmas or shopping.
right now I have this
@tag = Boom.tagged_with(params[:tag], :any => true, :wild => true)
Is this possible? With just SQL there's such as thing with %or LIKE but can this be applied somehow with acts as taggable?
Like we discussed upper in comments: if you make params[:tag].split(" ") it will be working.