Don't check for ENV["RAILS_ENV"] at all
This commit is contained in:
parent
f79cf31f10
commit
4996a1204b
@ -1,4 +1,4 @@
|
||||
if %w(test development).include?(Rails.respond_to?(:env) ? Rails.env : ENV["RAILS_ENV"])
|
||||
if Rails.env.development? || Rails.env.test?
|
||||
|
||||
require "silent-postgres/railtie"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user