search for: remove_descend

Displaying 1 result from an estimated 1 matches for "remove_descend".

2009 Oct 14
0
[PATCH server] hack betternested set to enable pool deletion
...set = base_set_class.find(:all, :conditions => "#{scope_condition} AND (#{prefixed_left_col_name} BETWEEN #{self[left_col_name]} AND #{self[right_col_name]})", :order => "#{prefixed_right_col_name} DESC") set.each { |child| child.skip_before_destroy = true; remove_descendant(child) } -- 1.6.0.6