demo for rails tutorial