I have created a seed file, ran rake db:migrate
and rake db:seed
everything seemed to have run fine. However, I would now like to view the seeds in rails console, the name of the table is usersinfo
. How do I view to verify that the seeds populated correctly in console?
I have tried usersinfo.all
in console but got the following error.
undefined method `all'