Update rails dependency to version 4.0.1