DEV Community

loading...

Rails Seed tasks

langsharpe profile image Lang Sharpe ・1 min read

A few tasks will load your seed data

rails db:setup
rails db:reset
Enter fullscreen mode Exit fullscreen mode

This surprised me. I had thought they were only loaded when db:seed is run specifically.

Discussion (0)

pic
Editor guide