Skip to content

Instantly share code, notes, and snippets.

@ngauthier
Created April 21, 2010 16:40
Show Gist options
  • Select an option

  • Save ngauthier/374074 to your computer and use it in GitHub Desktop.

Select an option

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