Module: Switchman
- Defined in:
- lib/switchman.rb,
lib/switchman/engine.rb,
lib/switchman/version.rb,
lib/switchman/shackles.rb,
lib/switchman/test_helper.rb,
app/models/switchman/shard.rb,
lib/switchman/schema_cache.rb,
lib/switchman/default_shard.rb,
lib/switchman/r_spec_helper.rb,
lib/switchman/database_server.rb,
lib/switchman/active_record/base.rb,
lib/switchman/active_support/cache.rb,
lib/switchman/sharded_instrumenter.rb,
lib/switchman/connection_pool_proxy.rb,
lib/switchman/active_record/relation.rb,
lib/switchman/action_controller/caching.rb,
lib/switchman/active_record/association.rb,
lib/switchman/active_record/persistence.rb,
lib/switchman/active_record/query_cache.rb,
lib/switchman/active_record/calculations.rb,
lib/switchman/active_record/query_methods.rb,
lib/switchman/active_record/spawn_methods.rb,
lib/switchman/active_record/finder_methods.rb,
lib/switchman/active_record/log_subscriber.rb,
lib/switchman/active_record/connection_pool.rb,
lib/switchman/active_record/abstract_adapter.rb,
lib/switchman/active_record/attribute_methods.rb,
lib/switchman/active_record/connection_handler.rb,
lib/switchman/active_record/postgresql_adapter.rb
Defined Under Namespace
Modules: ActionController, ActiveRecord, ActiveSupport, ConnectionError, RSpecHelper, Rails, Shackles, TestHelper Classes: ConnectionPoolProxy, DatabaseServer, DefaultShard, Engine, SchemaCache, Shard, ShardedInstrumenter
Constant Summary collapse
- VERSION =
"1.2.23"
Class Method Summary collapse
Class Method Details
.config ⇒ Object
5 6 7 8 |
# File 'lib/switchman.rb', line 5 def self.config # TODO: load from yaml @config ||= {} end |