Logic problem with converstion of activerecord::relations
updated gemspec
Fixed error with class detection
refactored responsibilities of primary functionality
small bug fix, and added a test for primary functionality... ... ...
Updated the readme

  I noticed some typos in the README file, and that the fact that users
  can pass JSON to generate_table was left out. I also changed some of the
  examples to be less silly.
Refactored most of tablinate...