Skip to content

Do not always load db/seeds.rb #828

@decentral1se

Description

@decentral1se

AFAICT there is no way to disable loading db/seeds.rb when deploying via docker. It is triggered when I run bundle exec rails db:setup. This becomes particuluarly unhandy when publishing my own image (see #824) and needing to remove / adjust this file. Is there a way to only load this when RAILS_ENV != production?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions