fix activerecord 4.0.0 / minitest 5.0.5 deprecation warnings
Merge pull request #75 from pzel/master

deprecation warnings