Sha256: 2fbb70c66be4aec4733d5131afa4a50294ef35115872299839fe1a2f04ad5e85
Contents?: true
Size: 244 Bytes
Versions: 3
Compression:
Stored size: 244 Bytes
Contents
module Parentry module Strategy module Array module ClassMethods def parentry_depth_function Arel::Nodes::NamedFunction.new('array_length', [arel_table[parentry_column], 1]) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
parentry-1.8.0 | lib/parentry/strategy/array/class_methods.rb |
parentry-1.7.0 | lib/parentry/strategy/array/class_methods.rb |
parentry-1.6.0 | lib/parentry/strategy/array/class_methods.rb |