In my User model I could have: has_many :tasks and in my Task model: belongs_to :user Then, supposing the foreign key ‘user_id’ was ...
-
May 28, 2022
- 0 Comments