Limerick
and User
.Inspect the code for the Limerick
and User
model classes by opening the files app/models/limerick.rb
and app/models/user.rb
, respectively, in VS Code.
Note that app’s model classes are as depicted in the class diagram.
Limerick
has two attributes (title
and limerick_text
)User
was generated by Devise.User
and Limerick
(a user has many limericks, and a limerick belongs to one user).