Class: SolidObserver::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- SolidObserver::ApplicationController
- Includes:
- ActionController::RequestForgeryProtection, ActionView::Layouts, ActionView::Rendering
- Defined in:
- app/controllers/solid_observer/application_controller.rb
Direct Known Subclasses
DashboardController, EventsController, JobsController, StoragesController
Class Method Summary collapse
Class Method Details
.runtime_db_errors ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/solid_observer/application_controller.rb', line 5 def self.runtime_db_errors [ *([PG::ConnectionBad] if defined?(PG::ConnectionBad)), *([Mysql2::Error::ConnectionError] if defined?(Mysql2::Error::ConnectionError)), *([SQLite3::CantOpenException] if defined?(SQLite3::CantOpenException)) ] end |