Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTeo Inke
4,403 PointsWhat's wrong?
I can't make it work with the challenge to setup the relationships. I just added "has_many :comments" and "belongs_to :blogpost". However, it keeps telling me that belongs_to wants the singular form. Please, let me know what I am doing wrong or if it's a bug fix it so I can continue this course. Thanks!
2 Answers
Dino Paškvan
Courses Plus Student 44,108 PointsYou have to follow the Rails standards:
belongs_to :blog_post
Teo Inke
4,403 PointsOh, thanks! Silly mistake...