second modification of rails.php