Sha256: 659ac5e3caebaf2318c93e12d9087108a9922c74cd8d3d5afa2ad247c49fe11e
Contents?: true
Size: 654 Bytes
Versions: 44
Compression:
Stored size: 654 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module SQLServer module CoreExt module ActiveRecord extend ActiveSupport::Concern module ClassMethods def execute_procedure(proc_name, *variables) if connection.respond_to?(:execute_procedure) connection.execute_procedure(proc_name, *variables) else [] end end end end end end end end ActiveSupport.on_load(:active_record) do include ActiveRecord::ConnectionAdapters::SQLServer::CoreExt::ActiveRecord end
Version data entries
44 entries across 44 versions & 1 rubygems