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 ActiveRecord Basics Migrations and Relationships Looking at our Application

Carlos Reyes
Carlos Reyes
30,056 Points

This worked for me :)

I was having problems with rake version, it is solved running bundle exec rake db: [migrate, drop, create]

I modified the database.yml in the download, with the one in my previous biller project, the one used to follow the videos, the socket is different from the download, and used my pass.

Now I am trying to figure out if the download includes the database, tables and information. Following the ideas in the previous comments I used db:drop, db:create, db:migrate. That leave us with an empty database. I dont want to use the rails console to enter data!

Carlos Reyes
Carlos Reyes
30,056 Points

I followed the advice from Gavin in this thread, I will continue with course now! Copy lines 44 and 73 in the dump.sql file, then Paste in the mysql> prompt.

I guess the instructors must really enjoy watching how we go through all this issues! ;)

https://teamtreehouse.com/forum/so-apparently-copy-and-paste-messes-up-more-than-i-thought-it-would-what-do-i-do-to-repair-this