Sha256: 19d142a9e08c2f292582ea2d61d665672256f94513a10af74794aeb6960defaa
Contents?: true
Size: 481 Bytes
Versions: 12
Compression:
Stored size: 481 Bytes
Contents
# So, ERB and SLIM fans want to make gem became independent of HAML # Ok, let it be. But you will convert view partials youself # 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
12 entries across 12 versions & 1 rubygems