Sha256: e4c7a4d743334db24eb54c5a39d8309513a5969c749e8085eccfabe0b7c9a0ff

Contents?: true

Size: 228 Bytes

Versions: 1

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  class BaseRecord < ActiveRecord::Base
    self.abstract_class = true

    def self.ordered_by(attribute, direction = :asc)
      order(attribute => direction)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper-4.3.0 lib/doorkeeper/orm/active_record/base_record.rb