Skip to content

Conversation

@stevepolitodesign
Copy link
Contributor

@stevepolitodesign stevepolitodesign commented Mar 10, 2025

Since db:seeds.rb is intended to ensure

... the existence of records required to run the application in every
environment (production, development, test)

we have relied on dev:prime 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
task to seed for improved clarity.

Then, introduces development:seed:replant take to create parity with
the existing db:seed:replant task.

Introduces Seeder class to encapsulate seed data, which is called in
the development:seed and development:seed:replant tasks. The
advantage to this is that the class can be called independently from the
task, and can also be unit tested.

Since `db:seeds.rb` is intended to ensure

> ... the existence of records required to run the application in every
environment (production, development, test)

we have relied on [`dev:prime`][1] 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.

Introduces `Seeder` class to encapsulate seed data, which is called in
the `development:seed` and `development:seed:replant` tasks. The
advantage to this is that the class can be called independently from the
task, and can also be [unit tested][2].

[1]: https://thoughtbot.com/blog/priming-the-pump
[2]: https://thoughtbot.com/blog/seeds-of-destruction
@stevepolitodesign stevepolitodesign force-pushed the sp-development-seed-data branch from f4bfbe1 to 04589ab Compare March 10, 2025 13:44
stevepolitodesign added a commit to thoughtbot/guides that referenced this pull request Mar 10, 2025
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.

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
namespace :development do
desc "Loads seed data into development."
task seed: :environment do
Seeder.load_seeds
Copy link
Contributor Author

@stevepolitodesign stevepolitodesign Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't care about unit testing this, or being able to load seeds outside of this task, we could always load the seeds directly in this file, like before.

Curious to hear what others think.

@@ -0,0 +1,11 @@
namespace :development do
desc "Loads seed data into development."
task seed: :environment do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should consider wrapping this in the db namespace.

bin/rails development:db:seed
bin/rails development:db:seed:replant

@nickcharlton
Copy link
Member

I've found that people find dev:prime to be confusing over the years, so I think this is a good idea.

One of the nice things about dev:prime was that it read nicely when in scripts. I'd not call any other database tasks, just that one and it looked good:

https://github.com/thoughtbot/administrate/blob/9870b40ce7330e64acad04a6c1685299defff77b/bin/setup#L25

Comment on lines +23 to +24
system! "bin/rails db:prepare"
system! "bin/rails development:seed" if File.exist? "lib/tasks/development.rake"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nickcharlton

One of the nice things about dev:prime was that it read nicely when in scripts. I'd not call any other database tasks, just that one and it looked good:

https://github.com/thoughtbot/administrate/blob/9870b40ce7330e64acad04a6c1685299defff77b/bin/setup#L25

Are you suggesting something like this?

Suggested change
system! "bin/rails db:prepare"
system! "bin/rails development:seed" if File.exist? "lib/tasks/development.rake"
system! "bin/rails development:seed" if File.exist? "lib/tasks/development.rake"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right — you don't need to call db:prepare, because the task for seeding calls it in it's dependency chain.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does? I might be misunderstanding, but the newly introduced development:seed has no other dependencies other than the :environment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean that in comparison to the original (not the new one!), one of the "hidden" features of it was that it'd also setup the database for you. This is why Administrate's bin/setup is so small.

stevepolitodesign added a commit to thoughtbot/guides that referenced this pull request May 9, 2025
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
stevepolitodesign added a commit to thoughtbot/guides that referenced this pull request Jun 6, 2025
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
stevepolitodesign added a commit to thoughtbot/guides that referenced this pull request Jun 6, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: thoughtbot/chat_bot#52
Iej5dvl6uavySukn4c5icng added a commit to Iej5dvl6uavySukn4c5icng/guides that referenced this pull request Sep 29, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
AwxengelaPrij2g8n7eto added a commit to AwxengelaPrij2g8n7eto/guides that referenced this pull request Sep 29, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
Arthurq032pPxigarent added a commit to Arthurq032pPxigarent/guides that referenced this pull request Sep 29, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
Terdueik4nriePrater9zgdrbwv added a commit to Terdueik4nriePrater9zgdrbwv/guides that referenced this pull request Sep 30, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
Quin3dubywm2bktonElseq0agcbffhy added a commit to Quin3dubywm2bktonElseq0agcbffhy/guides that referenced this pull request Oct 2, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
Damiqnklg450ianVaiof92l added a commit to Damiqnklg450ianVaiof92l/guides that referenced this pull request Oct 2, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
amyriverazhuzhe19880317 added a commit to amyriverazhuzhe19880317/guides that referenced this pull request Oct 2, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
shi77203764583HollyMonroe added a commit to shi77203764583HollyMonroe/guides that referenced this pull request Oct 3, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
buosho5569 added a commit to buosho5569/guides that referenced this pull request Oct 3, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
kaowue8925 added a commit to kaowue8925/guides that referenced this pull request Oct 3, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
deborah2270-gillman2 added a commit to deborah2270-gillman2/guides that referenced this pull request Oct 3, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
yiye769895shaoRobertGarrett added a commit to yiye769895shaoRobertGarrett/guides that referenced this pull request Oct 3, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
fktkt66551404RobertAlexander added a commit to fktkt66551404RobertAlexander/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
michaeldavis5909michaeldavis added a commit to michaeldavis5909michaeldavis/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
bwdvrqmonDeborahThompson added a commit to bwdvrqmonDeborahThompson/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
marindaripley6375KathleenMeyers added a commit to marindaripley6375KathleenMeyers/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
TaraWilliamsgtkmby0 added a commit to TaraWilliamsgtkmby0/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
HzlA5gDT0a7L9854 added a commit to HzlA5gDT0a7L9854/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
cfkbfkBillyChavez added a commit to cfkbfkBillyChavez/guides that referenced this pull request Oct 8, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
cassarahlypqj4045joycejohnson added a commit to cassarahlypqj4045joycejohnson/guides that referenced this pull request Oct 16, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
obtzzw2343610 added a commit to obtzzw2343610/guides that referenced this pull request Oct 16, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
EricStephens1434TravisRogers added a commit to EricStephens1434TravisRogers/guides that referenced this pull request Oct 16, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
posi587294ronaldlindsey added a commit to posi587294ronaldlindsey/guides that referenced this pull request Oct 16, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
johnny-needham263z added a commit to johnny-needham263z/guides that referenced this pull request Oct 16, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
schofieldnoralx9-54 added a commit to schofieldnoralx9-54/guides that referenced this pull request Oct 19, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
5contreras-jennal added a commit to 5contreras-jennal/guides that referenced this pull request Oct 19, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
aprilpdoregelj added a commit to aprilpdoregelj/guides that referenced this pull request Oct 19, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
dd6465-3 added a commit to dd6465-3/guides that referenced this pull request Oct 19, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
mmaxinequfrance added a commit to mmaxinequfrance/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
lm3549-r added a commit to lm3549-r/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
jcabezas-virginiax added a commit to jcabezas-virginiax/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
tb3461-0 added a commit to tb3461-0/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
mnewby-2255p added a commit to mnewby-2255p/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
rkozlowski4394-o added a commit to rkozlowski4394-o/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
1wynne-manueli added a commit to 1wynne-manueli/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
marie-davilla906m added a commit to marie-davilla906m/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
joseph-hall688p added a commit to joseph-hall688p/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
guajardonormakc-4 added a commit to guajardonormakc-4/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
rclaricefhernandez added a commit to rclaricefhernandez/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
aharvey8558-b added a commit to aharvey8558-b/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
virginia9869-rushingy added a commit to virginia9869-rushingy/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
jremillard7421-s added a commit to jremillard7421-s/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
p-thomasd added a commit to p-thomasd/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
gajasongilmore95 added a commit to gajasongilmore95/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
richard97-pa added a commit to richard97-pa/guides that referenced this pull request Oct 20, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
her2000-w9 added a commit to her2000-w9/guides that referenced this pull request Oct 26, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
curtis7346-harrisn added a commit to curtis7346-harrisn/guides that referenced this pull request Oct 26, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
marhansonv4 added a commit to marhansonv4/guides that referenced this pull request Oct 26, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
amber106-fournierk added a commit to amber106-fournierk/guides that referenced this pull request Oct 28, 2025
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][3].

[1]: thoughtbot/suspenders#1251
[2]: https://thoughtbot.com/blog/priming-the-pump
[3]: https://github.com/thoughtbot/chat_bot/pull/52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants