update rails files to rails 4.1.2