Skip to content

Commit

Permalink
Add APP_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvh authored Jul 9, 2020
1 parent 12c9041 commit 9bc66d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ After copying and pasting code to do this several times I decided to package it

DatabaseCleaner comes with safeguards against:

* Running in production (checking for `ENV`, `RACK_ENV`, and `RAILS_ENV`)
* Running in production (checking for `ENV`, `APP_ENV`, `RACK_ENV`, and `RAILS_ENV`)
* Running against a remote database (checking for a `DATABASE_URL` that does not include `localhost`, `.local` or `127.0.0.1`)

Both safeguards can be disabled separately as follows.
Expand Down

0 comments on commit 9bc66d6

Please sign in to comment.