used for RoR tutorial