Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Allow forcing of seeds in production #49

Open
makenosound opened this issue Aug 6, 2015 · 0 comments
Open

Allow forcing of seeds in production #49

makenosound opened this issue Aug 6, 2015 · 0 comments

Comments

@makenosound
Copy link
Member

... but allow them to be run if we need to:

if Rails.env.development? || ENV["FORCE_SEED"]

This is what I’ve added to the MOAD APM site.

@timriley timriley changed the title Protect seeds from being run in production Allow forcing of seeds in production Aug 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant