A demo from tutorial of rails