# File activerecord/lib/active_record/connection_adapters/abstract/savepoints.rb, line 14defexec_rollback_to_savepoint(name = current_savepoint_name)
execute("ROLLBACK TO SAVEPOINT #{name}", "TRANSACTION")
end
release_savepoint(name = current_savepoint_name)
Link