update rails.php