Alchemy::Seeder.seed! not working #2662
Unanswered
vBalatroni
asked this question in
Q&A
Replies: 2 comments
-
Can you show us your |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah, just saw that you used the rails console. Have your tried to require the seeder first? require "alchemy/seeder" But unless you have a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce
Run a clean installation
Expected behavior
seeds.rb should populate database
Actual behavior
While performing a clean installation i noticed that when the seeds.rb were launched nothing happened. I checked on my database and actually there were no datas preloaded. i Tried to go to
rails c
and run manually the commandAlchemy::Seeder.seed!
but up to my surprise it returned me this error.Due to this problem whenever i try to go to root page i get this error.
If you need more information let me know
System configuration
Beta Was this translation helpful? Give feedback.
All reactions