Problem with rake db:populate on chapter 10.3.2

13 views
Skip to first unread message

Ben Pines

unread,
Aug 11, 2013, 12:17:00 AM8/11/13
to rubyonra...@googlegroups.com
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.

Colin Law

unread,
Aug 12, 2013, 3:31:07 AM8/12/13
to rubyonra...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages