task1 on RoR