Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Interactive validations on user input in seed script #1071

@mnquintana

Description

@mnquintana

When running the seed script for the first time (ie. via rake db:setup, it's possible for the script to raise an exception and exit by submitting data that fails validations. This is super annoying because it kinda takes awhile to fill all these fields out, so if you get most of the way done and accidentally enter invalid data, you have to start over again.

(e.g. this just happened to me with the password field during admin account setup)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions