materials for rails class