File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
ruby/hyper-model/lib/reactive_record/active_record/reactive_record Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -587,9 +587,14 @@ def loading?
587587 @dummy_collection . loading?
588588 end
589589
590- def loaded?
591- false && @collection && ( !@dummy_collection || !@dummy_collection . loading? ) && ( !@owner || @owner . id || @vector . length > 1 )
592- end
590+ # def loading?
591+ # !@collection || (@dummy_collection && @dummy_collection.loading?) || (@owner && [email protected] && @vector && @vector.length <= 1) 592+ # end
593+
594+ # def loaded?
595+ # @collection && (!@dummy_collection || !@dummy_collection.loading?) && (!@owner || @owner.id || !@vector || @vector.length > 1)
596+ # #false && @collection && (!@dummy_collection || !@dummy_collection.loading?) && (!@owner || @owner.id || @vector.length > 1)
597+ # end
593598
594599 def empty?
595600 # should be handled by method missing below, but opal-rspec does not deal well
You can’t perform that action at this time.
0 commit comments