Skip to content

Refactor db/seeds to allow for easy development seeds#293

Merged
bagedevimo merged 1 commit into
masterfrom
seeds
May 9, 2025
Merged

Refactor db/seeds to allow for easy development seeds#293
bagedevimo merged 1 commit into
masterfrom
seeds

Conversation

@bagedevimo

Copy link
Copy Markdown
Contributor

In order to try out different things and qa changes locally it can be
helpful to have various data in your development database. This just
makes it a little easier and safer to load that data into the dev
database repeatadly.

Also fix up how languages.yml are loaded by switching to YAML.safe_load
and dropping the symbol keys in favor of using HashWithIndifferentAccess.

@coveralls

coveralls commented Apr 24, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 38.771%. remained the same
when pulling b7ca8de on seeds
into 6cc5c3b on master.

Comment thread db/seeds/development.rb Outdated
Comment thread db/seeds/development.rb Outdated
In order to try out different things and qa changes locally it can be
helpful to have various data in your development database. This just
makes it a little easier and safer to load that data into the dev
database repeatedly.

Also fix up how languages.yml are loaded by switching to YAML.safe_load
and dropping the symbol keys in favour of using HashWithIndifferentAccess.

bagedevimo commented May 9, 2025

Copy link
Copy Markdown
Contributor Author

@bagedevimo bagedevimo merged commit c7a57ed into master May 9, 2025

Copy link
Copy Markdown
Contributor Author

Merge activity

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