GhostEsso / ror-recipe-app

MIT License
3 stars 1 forks source link

[1pt] Create models (User, Recipe)#4 #15

Closed GhostEsso closed 1 year ago

GhostEsso commented 1 year ago

Created model classes for User and Food. (e.g. class User < ApplicationRecord) Set up associations between models. (e.g. has_many :food, belongs_to :user) Use CRUD methods to create, read and delete entities. Add validations if needed.