Sha256: 2a3ac236dc4b57f17b922f16a6917a7ff43f2e49055ab44c2824240a0724beee
Contents?: true
Size: 250 Bytes
Versions: 9
Compression:
Stored size: 250 Bytes
Contents
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
9 entries across 9 versions & 1 rubygems