Added a where method.
Merge pull request #23 from felafelwaffle/master

Relax pinned rails dependencies so that gem works with all 3.x and above rails versions
Merge pull request #24 from dhruvasagar/master

Added #where to base.rb