Fix error if ActiveRecord isn't present.

This solves a uninitialized constant error when using outside of Rails.
Merge pull request #54 from awmichel/fix-sinatra-error

Fix Uninitialized Constant Error with Sinatra