Sha256: 61cb732824ededffc0e6e21c8cb7a7e7ea55c8c4779940ea2850f0d0ead10415
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
module ActsAsRecursiveTree module Builders module Strategy # # Strategy for building descendants relation # module Descendant # # Builds the relation # def self.build(builder) builder.base_table[builder.parent_key].eq(builder.travers_loc_table[builder.primary_key]) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems