Tests: more AR versioning and update routes for Rails 3 + 4
Add Rails 4 compatibility to master