Exception: DatabaseSlave::AbstractClassWithoutBlockError

Inherits:
DatabaseSlaveError show all
Defined in:
lib/database_slave/errors.rb

Overview

Raised when using_slave() method used on a abstract class without a block given. For example: ActiveRecord::Base.using_slave().where() is not allowed.