You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This suggests that the authors' relationship to their own books have to go through loans, which is illogical. It also states that authors have many loans, and that destroying loans would also destroy authors.
I propose the following:
classAuthor < ActiveRecord::Basehas_many:booksend
The text was updated successfully, but these errors were encountered:
currently, we have:
This suggests that the authors' relationship to their own books have to go through loans, which is illogical. It also states that authors have many loans, and that destroying loans would also destroy authors.
I propose the following:
The text was updated successfully, but these errors were encountered: