updated rails config to 3