You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
rake db:seed RAILS_ENV=production
On May 19, 6:15 am, Rob Nichols <li...@ruby-forum.com> wrote:
> How do you define which version of the database is populated via the new
> default seed process? Running this:
>
> rake db:seed
>
> runs the code in seed.rb in the development environment and therefore
> loads the seed data into the development database.
>
> What is the syntax to use seed to populate the production database?
> --