lib/active_record/connection_adapters/master_slave_adapter.rb
# ok, we might have missed more
ok, we might have missed more
ok we might have missed more
def method_missing(name, *args, &blk)
        master_connection.send(name.to_sym, *args, &blk).tap do
          @logger.try(:warn, %Q{
            You called the unsupported method '#{name}' on #{self.class.name}.
            In order to help us improve master_slave_adapter, please report this
            to: https://github.com/soundcloud/master_slave_adapter/issues
            Thank you.
          })
        end
      rescue ActiveRecord::StatementInvalid => exception
        handle_error(master_connection, exception)
      end
def method_missing ( name , * args , & blk ) master_connection . send ( name . to_sym , * args , & blk ) . tap do @logger . try ( :warn , %Q{
            You called the unsupported method '#{name}' on #{self.class.name}.
            In order to help us improve master_slave_adapter, please report this
            to: https://github.com/soundcloud/master_slave_adapter/issues

            Thank you.
          } ) end rescue ActiveRecord :: StatementInvalid => exception handle_error ( master_connection , exception ) end
ok, we might have missed more
ok we might have missed more
name
args
blk