karmi/tire — pull request #238 by MacFrancis (2012-02-10 12:52:07+00:00)
Title: Avoiding conflict with meta_search (or other gems) when it overrides the search method.

Hi there karmi and vhyza!

First of all, thanks for this wonderful gem.
I've been using it in a project that also uses the "meta_search" gem, but this one overrides the search method that Tire declares.

I've simply rename the tire search method to "search_with_tire" and declared the search method like so:
def search(*args, &block)
search_with_tire(*args, &block)
end
This keeps the standard behavior intact and allows people like me to acces the tire search method with an alternative call: "search_with_tire".

The changes are fairly simple, could you guys incorporate them in your master version?
I prefer to use your gem instead of my forked one.

Cheers.