Class: Dbviewer::Initializer
- Inherits:
-
Object
- Object
- Dbviewer::Initializer
- Defined in:
- lib/dbviewer/initializer.rb
Class Method Summary collapse
Class Method Details
.setup ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/dbviewer/initializer.rb', line 4 def setup if defined?(ActiveRecord::Base) Rails.logger.warn "ActiveRecord is not available, skipping database connection check" return end ensure_activerecord_connection end |