Skip to content

Instantly share code, notes, and snippets.

@ngauthier
Created April 21, 2010 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngauthier/374074 to your computer and use it in GitHub Desktop.
Save ngauthier/374074 to your computer and use it in GitHub Desktop.
module ActiveRecord
module ConnectionAdapters
class AbstractAdapter
def current_savepoint_name
"active_record_#{Process.pid.to_s}_#{open_transactions}"
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment