rails cast scrape for train