Skip to content

Force common/setup to run before any individual seed #68

@swrobel

Description

@swrobel

The example rake db:seed:development:users seems to actually only run db/seeds/development/users.seeds.rb. Is there any way to force some common/shared code to load beforehand without having to do after or require in every single individual seed file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions