2.8. Moving
Forward
In the next chapter, we'll look at managing
relationships between Active Record classes. We'll see most types
of Active Record relationships in action, including:
-
belongs_to
-
has_one
-
has_many
-
has_and_belongs_to_many
-
acts_as_list
-
acts_as_tree
We'll build each of these into our evolving
Photo Share object model. Then, we'll take a very quick look at two
other relationships: inheritance and composition. By the end of the
next chapter, we'll have a fully functioning, database-backed
object model.
|