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 trialTakudzwa E E Goniwa
3,951 Pointshelp needed. where am I going wrong
Not exactly sure what the challenge is asking me to do
from models import Challenge
all_challenges = Challenge.select()
class Challenge(Model):
language = "Ruby"
name = "Booleans"
1 Answer
Marcin Lubke
13,253 PointsI also think that the question in this challenge isn't very clear...
I found out that it's really asking you not to create new model, what you're trying to do, but new record of that model, so you have to use Challenge.create()
method here.
Takudzwa E E Goniwa
3,951 PointsTakudzwa E E Goniwa
3,951 Pointsoh ok. thanks. Got it now