Class/Module Index [+]

Quicksearch

EM::Synchrony::ActiveRecord::Adapter

Public Instance Methods

configure_connection() click to toggle source
# File lib/em-synchrony/activerecord.rb, line 44
def configure_connection
  nil
end
decrement_open_transactions() click to toggle source
# File lib/em-synchrony/activerecord.rb, line 66
def decrement_open_transactions
  real_connection.open_transactions -= 1
end
increment_open_transactions() click to toggle source
# File lib/em-synchrony/activerecord.rb, line 62
def increment_open_transactions
  real_connection.open_transactions += 1
end
open_transactions() click to toggle source
# File lib/em-synchrony/activerecord.rb, line 58
def open_transactions
  real_connection.open_transactions
end
real_connection() click to toggle source
# File lib/em-synchrony/activerecord.rb, line 54
def real_connection
  @connection.connection
end
transaction(*args, &blk) click to toggle source
# File lib/em-synchrony/activerecord.rb, line 48
def transaction(*args, &blk)
  @connection.execute(false) do |conn|
    super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.