Sha256: ab668b442e4c4383f0092480d35766df00b661d2296fc941dec3e374c913c1c3
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
module OrderedTree module InstanceMethods module Misc protected def foreign_key_column :"#{ordered_tree_config[:foreign_key]}" end def order_column :"#{ordered_tree_config[:order]}" end private # Overwrite this method to define the scope of the list changes def scope_condition "1=1" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ordered_tree-0.1.8 | lib/ordered_tree/instance_methods/misc.rb |
ordered_tree-0.1.7 | lib/ordered_tree/instance_methods/misc.rb |
ordered_tree-0.1.6 | lib/ordered_tree/instance_methods/misc.rb |