Closed stiig closed 1 year ago
During migrations without setting RAILS_ENV or RACK_ENV rails behaves like running in development environment but anyway_config doesn't reflect this
development
Add safe checking Rails.env
Rails.env
Thanks!
What is the purpose of this pull request?
During migrations without setting RAILS_ENV or RACK_ENV rails behaves like running in
development
environment but anyway_config doesn't reflect thisWhat changes did you make? (overview)
Add safe checking
Rails.env
Is there anything you'd like reviewers to focus on?
Checklist