examples/moped_scroll_feed.rb in mongoid-scroll-0.3.3 vs examples/moped_scroll_feed.rb in mongoid-scroll-0.3.4

- old
+ new

@@ -5,9 +5,11 @@ require 'faker' Mongoid.connect_to 'mongoid_scroll_demo' Mongoid.purge! +fail 'No Moped' unless Object.const_defined?(:Moped) + # total items to insert total_items = 20 # a MongoDB query will be executed every scroll_by items scroll_by = 7