KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a User model and a Task model. I have not mentioned any relation between them while creating them. I need to establish that User has_many Tasks and a Task belongs_to User through a migration What would be the migration generation command for establishing that relationship?
Tags (comma-separated)
Save Edits
Cancel