RoR sample aplication