Dive into Rails. "Agile web development" with some exercises.