Update rails to 4.1.7 security patches that can affect our users

Update rails to 4.1.7 : latest version is a security fix that could affect our users in a bad way.

PS: sorry for the spec, shouldn't make it to that commit, but I'm too lazy to remove it.