Upgrate rails to 4.1.7

https://github.com/fs/rails-base/pull/228