mercredi 11 novembre 2015

Running a Ruby on Rails Application from GitHub

I'm cloning a RoR app I made from Github. After the clone I install my gems. Now at this point my question/problem arises. Some research I've done suggests I do a 'rake db:create' followed by a 'rake db:migrate'. I've tried both of those steps but am still having trouble. When I run 'rails console' and do something like Plan.first it returns nil. And when I try to visit my application I get an "ActiveRecord::RecordNotFound in PagesController#home" error alluding to the fact that it can't find the plan id of 1. Any help is much appreciated. Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire