Change gemfile to allow usage with AR 4.0+
Fix deprecation warning by calling #connection on object's class
Merge pull request #5 from Stylitics/master

Change gemfile to allow usage with AR 4.0+