So let’s say the problem is easy:
A books application where:
Books
--------------
Author ID, Title, Publisher, ISBN
Authors
--------------
Author ID, Last_Name, First_Name
I use generate model to create these objects.
Further, I edit the app/models/books and app/models/authors files to add associations.
Would I only have to add one association to each file? has_one :authors in books and has_many :books in authors.
Also, where exactly are fixture files? To fill in with test data? They are not showing up in test/fixtures
Presumably you did something like the following:
Fixtures should be generated along with the model in test/fixtures.
Your models should look something like this: