Sha256: e412e958122d6119acb03006cf738318788858a7cac53ff20bd037fcbcf98cbd
Contents?: true
Size: 435 Bytes
Versions: 8
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Bulkrax class PendingRelationship < ApplicationRecord include Bulkrax::StatusInfo belongs_to :importer_run # Ideally we wouldn't have a column named "order", as it is a reserved SQL term. However, if we # quote the column, all is well...for the application. scope :ordered, -> { order(Arel.sql("#{quoted_table_name}.#{connection.quote_column_name('order')}")) } end end
Version data entries
8 entries across 8 versions & 1 rubygems