Fixes warning in ActiveRecord 4.0
Merge pull request #53 from zimbatm/master

Fixes ActiveRecord 4.0 warning