Table of Contents - active_record_shards-3.19.1 Documentation
Classes and Modules
- ActiveRecord
- ActiveRecord::Base
- ActiveRecord::Migrator
- ActiveRecordShards
- ActiveRecordShards::ActualMigrationExtension
- ActiveRecordShards::AssociationCollectionConnectionSelection
- ActiveRecordShards::AssociationCollectionConnectionSelection::MasterSlaveProxy
- ActiveRecordShards::AssociationCollectionConnectionSelection::PrimaryReplicaProxy
- ActiveRecordShards::ConfigurationParser
- ActiveRecordShards::ConnectionSwitcher
- ActiveRecordShards::ConnectionSwitcher::MasterSlaveProxy
- ActiveRecordShards::ConnectionSwitcher::PrimaryReplicaProxy
- ActiveRecordShards::DefaultReplicaPatches
- ActiveRecordShards::DefaultReplicaPatches::ActiveRelationPatches
- ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationAssociationScopePatch
- ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationFindTargetPatch
- ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationGetRecordsPatch
- ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationAssociatedRecordsByOwnerPatch
- ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationLoadRecordsPatch
- ActiveRecordShards::DefaultReplicaPatches::InstanceMethods
- ActiveRecordShards::DefaultReplicaPatches::Rails41HasAndBelongsToManyBuilderExtension
- ActiveRecordShards::DefaultReplicaPatches::Rails52RelationPatches
- ActiveRecordShards::DefaultReplicaPatches::SchemaDefinePatch
- ActiveRecordShards::DefaultReplicaPatches::TypeCasterConnectionConnectionPatch
- ActiveRecordShards::DefaultSlavePatches
- ActiveRecordShards::Deprecation
- ActiveRecordShards::MigrationClassExtension
- ActiveRecordShards::Model
- ActiveRecordShards::Model::InstanceMethods
- ActiveRecordShards::SchemaDumperExtension
- ActiveRecordShards::ShardSelection
- ActiveRecordShards::ShardSupport
- ActiveRecordShards::ShardSupport::ShardEnumerator
- ActiveRecordShards::SqlComments
- ActiveRecordShards::SqlComments::Methods
- ActiveRecordShards::Tasks
- Object
Methods
- ::enable — ActiveRecordShards::SqlComments
- ::establish_connection — ActiveRecord::Base
- ::extended — ActiveRecordShards::ConfigurationParser
- ::extended — ActiveRecordShards::ConnectionSwitcher
- ::extended — ActiveRecordShards::DefaultReplicaPatches
- ::extended — ActiveRecordShards::DefaultReplicaPatches
- ::extended — ActiveRecordShards::Model
- ::included — ActiveRecordShards::DefaultReplicaPatches::ActiveRelationPatches
- ::included — ActiveRecordShards::DefaultReplicaPatches::Rails41HasAndBelongsToManyBuilderExtension
- ::new — ActiveRecordShards::AssociationCollectionConnectionSelection::PrimaryReplicaProxy
- ::new — ActiveRecordShards::AssociationCollectionConnectionSelection::PrimaryReplicaProxy
- ::new — ActiveRecordShards::ConnectionSwitcher::PrimaryReplicaProxy
- ::new — ActiveRecordShards::ConnectionSwitcher::PrimaryReplicaProxy
- ::new — ActiveRecordShards::ShardSelection
- ::new — ActiveRecordShards::ShardSupport
- ::override_connection_handler_methods — ActiveRecordShards
- ::rails_env — ActiveRecordShards
- ::root_connection — ActiveRecordShards::Tasks
- ::shard_status — ActiveRecord::Migrator
- ::shards_migration_context — ActiveRecord::Migrator
- ::spec_for — ActiveRecordShards::Tasks
- ::wrap_method_in_on_replica — ActiveRecordShards::DefaultReplicaPatches
- ::wrap_method_in_on_replica — ActiveRecordShards::DefaultReplicaPatches
- ::wrap_method_in_on_slave — ActiveRecordShards::DefaultReplicaPatches
- ::wrap_method_in_on_slave — ActiveRecordShards::DefaultReplicaPatches
- #associated_records_by_owner — ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationAssociatedRecordsByOwnerPatch
- #association_scope — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationAssociationScopePatch
- #behavior — ActiveRecordShards::Deprecation
- #clear_specification_cache — ActiveRecordShards::ConnectionSwitcher
- #columns_with_default_shard — ActiveRecordShards::ConnectionSwitcher
- #configurations_with_shard_explosion= — ActiveRecordShards::ConfigurationParser
- #connected_to_shard? — ActiveRecordShards::ConnectionSwitcher
- #connection — ActiveRecordShards::DefaultReplicaPatches::Rails52RelationPatches
- #connection — ActiveRecordShards::DefaultReplicaPatches::TypeCasterConnectionConnectionPatch
- #connection_pool_key — ActiveRecordShards::ConnectionSwitcher
- #connection_specification_name — ActiveRecordShards::ConnectionSwitcher
- #count — ActiveRecordShards::ShardSupport
- #current_shard_id — ActiveRecordShards::ConnectionSwitcher
- #current_shard_selection — ActiveRecordShards::ConnectionSwitcher
- #default_shard= — ActiveRecordShards::ConnectionSwitcher
- #define — ActiveRecordShards::DefaultReplicaPatches::SchemaDefinePatch
- #dump — ActiveRecordShards::SchemaDumperExtension
- #each — ActiveRecordShards::ShardSupport::ShardEnumerator
- #ensure_concrete! — ActiveRecordShards::ShardSupport
- #ensure_shard_connection — ActiveRecordShards::ConnectionSwitcher
- #enum — ActiveRecordShards::ShardSupport
- #establish_shard_connection — ActiveRecordShards::ConnectionSwitcher
- #execute — ActiveRecordShards::SqlComments::Methods
- #expand_child! — ActiveRecordShards::ConfigurationParser
- #explode — ActiveRecordShards::ConfigurationParser
- #find — ActiveRecordShards::ShardSupport
- #find_target — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationFindTargetPatch
- #force_on_replica — ActiveRecordShards::DefaultReplicaPatches
- #force_on_replica — ActiveRecordShards::DefaultReplicaPatches
- #from_replica? — ActiveRecordShards::Model::InstanceMethods
- #from_shard — ActiveRecordShards::Model::InstanceMethods
- #from_slave? — ActiveRecordShards::Model::InstanceMethods
- #get_records — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationGetRecordsPatch
- #initialize — ActiveRecord::Migrator
- #initialize_shard_and_replica — ActiveRecordShards::Model::InstanceMethods
- #initialize_shard_and_slave — ActiveRecordShards::Model::InstanceMethods
- #initialize_with_sharding — ActiveRecord::Migrator
- #initialize_without_sharding — ActiveRecord::Migrator
- #is_sharded? — ActiveRecordShards::Model
- #load_records — ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationLoadRecordsPatch
- #load_schema_with_default_shard! — ActiveRecordShards::ConnectionSwitcher
- #method_missing — ActiveRecordShards::AssociationCollectionConnectionSelection::PrimaryReplicaProxy
- #method_missing — ActiveRecordShards::AssociationCollectionConnectionSelection::PrimaryReplicaProxy
- #method_missing — ActiveRecordShards::ConnectionSwitcher::PrimaryReplicaProxy
- #method_missing — ActiveRecordShards::ConnectionSwitcher::PrimaryReplicaProxy
- #migrate — ActiveRecord::Migrator
- #migrate_with_forced_shard — ActiveRecordShards::ActualMigrationExtension
- #migrate_with_sharding — ActiveRecord::Migrator
- #migrate_without_sharding — ActiveRecord::Migrator
- #migrated — ActiveRecord::Migrator
- #migration_shard — ActiveRecordShards::ActualMigrationExtension
- #not_sharded — ActiveRecordShards::Model
- #on_all_shards — ActiveRecordShards::ConnectionSwitcher
- #on_cx_switch_block — ActiveRecordShards::ConnectionSwitcher
- #on_first_shard — ActiveRecordShards::ConnectionSwitcher
- #on_master — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_master — ActiveRecordShards::ConnectionSwitcher
- #on_master_if — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_master_if — ActiveRecordShards::ConnectionSwitcher
- #on_master_or_slave — ActiveRecordShards::ConnectionSwitcher
- #on_master_unless — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_master_unless — ActiveRecordShards::ConnectionSwitcher
- #on_primary — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_primary — ActiveRecordShards::ConnectionSwitcher
- #on_primary_db — ActiveRecordShards::ConnectionSwitcher
- #on_primary_if — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_primary_if — ActiveRecordShards::ConnectionSwitcher
- #on_primary_or_replica — ActiveRecordShards::ConnectionSwitcher
- #on_primary_unless — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_primary_unless — ActiveRecordShards::ConnectionSwitcher
- #on_replica — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_replica — ActiveRecordShards::ConnectionSwitcher
- #on_replica= — ActiveRecordShards::ShardSelection
- #on_replica? — ActiveRecordShards::ShardSelection
- #on_replica? — ActiveRecordShards::ConnectionSwitcher
- #on_replica_by_default= — ActiveRecordShards::Model
- #on_replica_by_default? — ActiveRecordShards::Model
- #on_replica_if — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_replica_if — ActiveRecordShards::ConnectionSwitcher
- #on_replica_unless — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_replica_unless — ActiveRecordShards::ConnectionSwitcher
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::InstanceMethods
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::ActiveRelationPatches
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationAssociationScopePatch
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationFindTargetPatch
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::AssociationsAssociationGetRecordsPatch
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationAssociatedRecordsByOwnerPatch
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches::AssociationsPreloaderAssociationLoadRecordsPatch
- #on_replica_unless_tx — ActiveRecordShards::DefaultReplicaPatches
- #on_shard — ActiveRecordShards::ConnectionSwitcher
- #on_slave — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_slave — ActiveRecordShards::ConnectionSwitcher
- #on_slave= — ActiveRecordShards::ShardSelection
- #on_slave? — ActiveRecordShards::ShardSelection
- #on_slave? — ActiveRecordShards::ConnectionSwitcher
- #on_slave_by_default= — ActiveRecordShards::Model
- #on_slave_by_default? — ActiveRecordShards::Model
- #on_slave_if — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_slave_if — ActiveRecordShards::ConnectionSwitcher
- #on_slave_unless — ActiveRecordShards::AssociationCollectionConnectionSelection
- #on_slave_unless — ActiveRecordShards::ConnectionSwitcher
- #on_slave_unless_tx — ActiveRecordShards::DefaultReplicaPatches
- #on_slave_unless_tx — ActiveRecordShards::DefaultReplicaPatches
- #options — ActiveRecordShards::ShardSelection
- #pending_migrations — ActiveRecord::Migrator
- #quote_value — ActiveRecordShards::DefaultReplicaPatches::InstanceMethods
- #resolve_connection_name — ActiveRecordShards::ShardSelection
- #retrieve_connection_pool — Object
- #run — ActiveRecord::Migrator
- #run_with_sharding — ActiveRecord::Migrator
- #run_without_sharding — ActiveRecord::Migrator
- #shard — ActiveRecordShards::ShardSelection
- #shard — ActiveRecordShards::MigrationClassExtension
- #shard= — ActiveRecordShards::ShardSelection
- #shard_env — ActiveRecordShards::ConnectionSwitcher
- #shard_header — ActiveRecordShards::SchemaDumperExtension
- #shard_name — ActiveRecordShards::ShardSelection
- #shard_names — ActiveRecordShards::ConnectionSwitcher
- #shard_trailer — ActiveRecordShards::SchemaDumperExtension
- #shards — ActiveRecordShards::ConnectionSwitcher
- #specification_cache — ActiveRecordShards::ConnectionSwitcher
- #supports_sharding? — ActiveRecordShards::ConnectionSwitcher
- #switch_connection — ActiveRecordShards::ConnectionSwitcher
- #table_exists_with_default_shard? — ActiveRecordShards::ConnectionSwitcher
- #through_model_with_inherit_default_replica_from_lhs — ActiveRecordShards::DefaultReplicaPatches::Rails41HasAndBelongsToManyBuilderExtension
- #to_a — ActiveRecordShards::ShardSupport
- #transaction_with_replica_off — ActiveRecordShards::DefaultReplicaPatches
- #transaction_with_replica_off — ActiveRecordShards::DefaultReplicaPatches
- #transaction_with_slave_off — ActiveRecordShards::DefaultReplicaPatches
- #transaction_with_slave_off — ActiveRecordShards::DefaultReplicaPatches
- #with_default_shard — ActiveRecordShards::ConnectionSwitcher
- #with_slave — ActiveRecordShards::ConnectionSwitcher
- #with_slave_if — ActiveRecordShards::ConnectionSwitcher
- #with_slave_unless — ActiveRecordShards::ConnectionSwitcher