Class: RailsFailover::ActiveRecord::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- RailsFailover::ActiveRecord::Railtie
- Defined in:
- lib/rails_failover/active_record/railtie.rb
Instance Method Summary collapse
Instance Method Details
#skip_middleware?(config) ⇒ Boolean
35 36 37 |
# File 'lib/rails_failover/active_record/railtie.rb', line 35 def skip_middleware?(config) config.try(:skip_rails_failover_active_record_middleware) end |