Sha256: 253dfb17f59d89770c5f48899b13f38efc28ec92419321d1be54a8dcf79e9c4d
Contents?: true
Size: 350 Bytes
Versions: 6
Compression:
Stored size: 350 Bytes
Contents
require "haml" require "the_sortable_tree/engine" require "the_sortable_tree/version" module TheSortableTree # include TheSortableTree::Scopes module Scopes def self.included(base) base.class_eval do scope :nested_set, order('lft ASC') scope :reversed_nested_set, order('lft DESC') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems