Challenge for Multiple Models and Relationships
Challenge
An app already has User, Comments and a user_id column in comments. What line of code should you add to the User model to tell rails that each User has many Comments?
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.