lib/never_block/db/pooled_fibered_mysql_connection.rb
# This method must be called for transactions to work correctly.
# One cannot just send "begin" as you never know which connection
# will be available next. This method ensures you get the same connection
# while in a transaction.
This method must be called for transactions to work correctly.
One cannot just send "begin" as you never know which connection
will be available next. This method ensures you get the same connection
while in a transaction.
This method must be called for transactions to work correctly . One cannot just send " begin " as you never know which connection will be available next . This method ensures you get the same connection while in a transaction .
def begin_db_transaction
        @pool.hold(true) do |conn|
          conn.query("begin")
        end
      end
def begin_db_transaction @pool . hold ( true ) do | conn | conn . query ( "begin" ) end end
This method must be called for transactions to work correctly.
This method must be called for transactions to work correctly .