Hi. I am having problems populating my db.
I created a sample_data.rake file/
When I run rake db:populate it shows exactly what it should show- no
errors. But when I go to localhost and try to login the db has not been
populated.
Hi. I am having problems populating my db.
I created a sample_data.rake file/
When I run rake db:populate it shows exactly what it should show- no
errors. But when I go to localhost and try to login the db has not been
populated.
On 11 August 2013 05:17, Ben P. [email protected] wrote:
Hi. I am having problems populating my db.
I created a sample_data.rake file/
When I run rake db:populate it shows exactly what it should show- no errors.
But when I go to localhost and try to login the db has not been populated.
Are you sure you are populating the same database that you are using
at run time? Use mysql (or whatever db you are using) command line or
other utility to check whether the db has the correct data.
Colin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs