confused about relationships
How would I express the following with relationships:
I have an "articles" table, an "authors" table, a "collections" table, and an "articles_collections" table.
An "article" has a reference to an "author_id".
Here is what I have, but not sure it's correct:
Thanks for any help or suggestions.
class Collection < ActiveRecord::Base
class Author < ActiveRecord::Base
class Article < ActiveRecord::Base