@@ -273,7 +273,7 @@ def build_child_scope(scope_description, *scope_vector)
273273 end
274274
275275 def link_to_parent
276- puts "#{ self } .link_to_parent @linked = #{ !!@linked } , collection? #{ !!@collection } "
276+ # puts "#{self}.link_to_parent @linked = #{!!@linked}, collection? #{!!@collection}"
277277 # always check that parent is synced - fixes issue https://github.com/hyperstack-org/hyperstack/issues/82
278278 # note that sync_collection_with_parent checks to make sure that is NOT a collection and that there IS a parent
279279
@@ -294,23 +294,23 @@ def link_child(child)
294294 end
295295
296296 def sync_collection_with_parent
297- puts "#{ self } .sync_collection_with_parent"
297+ # puts "#{self}.sync_collection_with_parent"
298298 return if @collection || !@parent || @parent . dummy_collection # fixes issue https://github.com/hyperstack-org/hyperstack/issues/78 and supports /82
299299 if @parent . collection
300- puts ">>> @parent.collection present"
300+ # puts ">>> @parent.collection present"
301301 if @parent . collection . empty?
302- puts ">>>>> @parent.collection is empty!"
302+ # puts ">>>>> @parent.collection is empty!"
303303 @collection = [ ]
304304 elsif filter?
305- puts "#{ self } .sync_collection_with_parent (@parent = #{ @parent } ) calling filter records on (#{ @parent . collection } )"
306- @collection = filter_records ( @parent . collection ) . tap { |rr | puts "returns #{ rr } #{ rr . to_a } " }
305+ # puts "#{self}.sync_collection_with_parent (@parent = #{@parent}) calling filter records on (#{@parent.collection})"
306+ @collection = filter_records ( @parent . collection ) # .tap { |rr| puts "returns #{rr} #{rr.to_a}" }
307307 end
308308 elsif !@linked && @parent . _count_internal ( false ) . zero?
309309 # don't check _count_internal if already linked as this cause an unnecessary rendering cycle
310- puts ">>> @parent._count_internal(false).zero? is true!"
310+ # puts ">>> @parent._count_internal(false).zero? is true!"
311311 @count = 0
312312 else
313- puts ">>> NOP"
313+ # puts ">>> NOP"
314314 end
315315 end
316316
0 commit comments