Implemented overrides to allow for versioning of AR models using postgres
Fixed specs and removed most deprecation issues
Reworded a comment
Merge pull request #181 from coderdan/master

AR 4.0 and test fixes