Railway Minister Mamata Banerjee, who has rushed to the site where the Mumbai-bound Gyanendra Express first derailed and then was hit by a goods train, has said the Railways was on red alert and there had been patrolling on the tracks just an hour before the incident happened.