Sha256: 4d2f966de5ea83eec6623ca64eb5283eaac90074c65d7df0f069216de5243c80
Contents?: true
Size: 281 Bytes
Versions: 47
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module Models module Orderable extend ActiveSupport::Concern module ClassMethods def ordered_by(attribute, direction = :asc) order(attribute => direction) end end end end end
Version data entries
47 entries across 47 versions & 1 rubygems