Create a failing test
Add a subselect query when the search is using a has_many relation
Add failing test for the has_many through case
Revert database name change
Revert "Add failing test for the has_many through case"

This reverts commit 0c83f6b938aff4e5a11ab8cbeff5d73985e59457.
Tidied up ugly elsif associated with has_many searching using try
Added some more tests to the has_many relation to verify more complex searches
Fixing typo where 1.9+ hash syntax was used
Merge pull request #54 from pcasaretto/one-to-many

First pass at fixing #22