Even more Rails 3 compatibility
This commit is contained in:
parent
d1713679a6
commit
a9bf2ee42f
@ -1,4 +1,4 @@
|
||||
if %w(test development).include?(ENV["RAILS_ENV"])
|
||||
if %w(test development).include?(Rails.respond_to?(:env) ? Rails.env : ENV["RAILS_ENV"])
|
||||
|
||||
require "silent-postgres/railtie"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user