for ROR tutorial