Don't check for ENV["RAILS_ENV"] at all

This commit is contained in:
Evgeniy Dolzhenko 2010-11-05 05:28:52 +00:00
parent f79cf31f10
commit 4996a1204b

View File

@ -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" require "silent-postgres/railtie"