ActiveRecord 4.0 support
Merge pull request #2 from nimdraugsael/master

ActiveRecord 4.0 support