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 trialandynguyen9
1,629 Pointsrails db:mirate
cannot see the page on browser after rails db:migrate. localhost:3000 is OK but localhost:3000/posts could not function well. Page error.
2 Answers
Oscar Yuen
Courses Plus Student 4,759 PointsTry
rake db:migrate
There are no rails db:migrate
Jay McGavren
Treehouse TeacherThis problem is actually related to your JavaScript runtime, not database migrations. Are you on Windows? If so, did you install Node.js and restart your system? There are also some additional steps here you could try.
andynguyen9
1,629 Pointsandynguyen9
1,629 PointsExecJS::ProgramError in Posts#index
TypeError: Object doesn't support this property or method