from apress rails book - practice stuff