Sha256: 648fdb20922fb727b4f915987ff66383482997c4dde329fdb1a2ad60fbfe4212
Contents?: true
Size: 606 Bytes
Versions: 12
Compression:
Stored size: 606 Bytes
Contents
require 'active_record/attribute_methods' module ActiveRecord module ConnectionAdapters module SQLServer module CoreExt module AttributeMethods private def attributes_for_update(attribute_names) super.reject do |name| column = self.class.columns_hash[name] column && column.respond_to?(:is_identity?) && column.is_identity? end end end end end end end ActiveSupport.on_load(:active_record) do include ActiveRecord::ConnectionAdapters::SQLServer::CoreExt::AttributeMethods end
Version data entries
12 entries across 12 versions & 2 rubygems