Bump rails to 4.1.1

There are still one failing test on this, so not ready to merge.
[fixes #602]