Upgrade rails

Really the work of yesteday's  work. Somebody fancy checking?
Should probably still specify the version like '~> 4.1.0' ?