diff --git a/lib/silent-postgres/railtie.rb b/lib/silent-postgres/railtie.rb index 15e8927..4006bf9 100755 --- a/lib/silent-postgres/railtie.rb +++ b/lib/silent-postgres/railtie.rb @@ -1,6 +1,7 @@ module SilentPostgres def self.init! ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, SilentPostgres) + rescue NameError end if defined?(Rails::Railtie)