The table you call a 'tying' table is also called a 'join' table. It
is part of what it is known as a 'has and belongs to many'
relationship. The good news is that Rails handles this very easily.
Let's take the Organizations - Addresses relationship. First you'll
create your models and tables. You'll end up with these tables:
Then you need to create the join table: