Skip to content

Commit d47abff

Browse files
Rails: Update guidance on development environment seed data.
Relates to [this proposal][1] for Suspenders. > We have relied on [`dev:prime`][2] for loading data necessary for users to view most of the features of the app in development. > > However, there were a few areas of improvement. > > First, rename `dev` namespace to `development`, and rename [`prime`][1] task to `seed` for improved clarity. > > The, introduces `development:seed:replant` take to create parity with the existing `db:seed:replant` task. We're already doing this in ChatBot. thoughtbot/chat_bot#52 [1]: thoughtbot/suspenders#1251
1 parent 0dc501c commit d47abff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Guidance on ActiveRecord, ActiveModel, and other model objects.
7979
suffixes.
8080
- Keep `db/schema.rb` or `db/development_structure.sql` under version control.
8181
- Use `db/seeds.rb` for data that is required in all environments.
82-
- Use `dev:prime` rake task for development environment seed data.
82+
- Use `development:db:seed` rake task for development environment seed data.
8383

8484
## Migrations
8585

0 commit comments

Comments
 (0)