On 11 August 2013 05:17, Ben Pines <bpi...@gmail.com> 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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu1MRvN5cq_ZP-19a7dXUMuxYmM-yr2QtiRcUXSPs7jSQ%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to