Update rails from 4.0.4 to 4.1.4