Ruby on Rails tutorial. Chapter 3+