Removed to_i when fetching by id on cache miss.
Merge pull request #124 from anthonator/master

Added support for non-integer primary keys