Ruby on rails tutorial for demo application