Update rails.php