Demo from book ruby for rails