Update to rails 4.0.1 and fix .new/.create issue