Update activerecord dependency to allow 4.x versions

Closes #1