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 trial

Ruby

Julian McNeill
Julian McNeill
9,445 Points

Help!!! Rake Aborted!

I downloaded the Project files in a attempt to fix the error problem I was getting with the "Creating Relationships" lesson but now when I run the rails server Immediately getting an error saying that

boldActiveRecord::StatementInvalid in StatusesController#new*bold*

Could not find table 'statuses'

app/controllers/statuses_controller.rb:27:in `new'
app/controllers/statuses_controller.rb:27:in `new'

i've tried to rake the db but it keeps on aborting.

2 Answers

Kyle Daugherty
Kyle Daugherty
16,441 Points

Have you tried running rake db:test:prepare?

Brandon Barrette
Brandon Barrette
20,485 Points

What is in line 27 of the statuses controller? The error is telling you to look there.