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 trialNelly Nelly
7,134 PointsAny one could give me the finished file ?
Hi there,
I've completed the whole lesson, but I had problem that I couldn't fix, when I've downloaded Hampton's updated file I couldn't run any rake db:migrate... I had failures so I've just followed along the rest of videos. I would like to rework on the database in rails c espcially ! Anyone can share it on git or somewhere else? Thanks :) Cheers from France
1 Answer
Rafael Nogueira Nicolau
16,130 PointsYou might need to do some steps before, it is not just download and open the folder.
First you need to do a bundle install so in that folder you can have all the gems properly installed. Than don`t risk having a corrupt DB, so use rake db:drop.all than rake db:create.all, than using a sql app (I used MySQL Workbench) upload the dump file into the SQL, and THEN rake db:migrate.
Might not be the best way, but it worked for me.