studying ruby on caelum's book.