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