Module: ActiveRecord::Base::SeamlessDatabasePoolBehavior
- Included in:
- ActiveRecord::Base
- Defined in:
- lib/active_record/connection_adapters/seamless_database_pool_adapter.rb
Instance Method Summary collapse
-
#reload(*args) ⇒ Object
Force reload to use the master connection since it’s probably being called for a reason.
Instance Method Details
#reload(*args) ⇒ Object
Force reload to use the master connection since it’s probably being called for a reason.
67 68 69 70 71 |
# File 'lib/active_record/connection_adapters/seamless_database_pool_adapter.rb', line 67 def reload(*args) SeamlessDatabasePool.use_master_connection do super *args end end |