examples from head first rails tutorial