Skip to content

Conversation

@stevepolitodesign
Copy link
Contributor

Closes #779

In practice I found that Rails was autoloading
lib/tasks/development.rake, which originally called abort. This
meant the application failed to boot.

This would happen if the application was using Tailwind CSS for
Rails
, since that requires calling bin/rails tailwindcss:watch, which loads all tasks.

Additionally, this commit makes a change to the task such that global
seed data is loaded too.

These changes are being used in Suspenders.

Closes #779

In practice I found that Rails was autoloading
`lib/tasks/development.rake`, which originally called `abort`. This
meant the application failed to boot.

This would happen if the application was using [Tailwind CSS for
Rails][tailwind], since that requires calling `bin/rails
tailwindcss:watch`, which loads all tasks.

Additionally, this commit makes a change to the task such that global
seed data is loaded too.

These changes are being used in Suspenders.

[tailwind]: https://github.com/rails/tailwindcss-rails
@stevepolitodesign stevepolitodesign merged commit 053e632 into main Jan 8, 2026
2 checks passed
@stevepolitodesign stevepolitodesign deleted the sp-dev-seed-data branch January 8, 2026 16:28
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.

Rails: Improve guidance on development environment seed data

2 participants