lib/rsqoot/deal.rb
def total_sqoot_deals(options = {})
      @total_deals  ||= []
      @cached_pages ||= []
      page = options[:page] || 1
      check_query_change options
      unless page_cached? page
        @total_deals += deals(options)
        @total_deals.uniq!
        @cached_pages << page.to_s
        @cached_pages.uniq!
      end
      @total_deals
    end
def total_sqoot_deals(options = {})
      @total_deals  ||= []
      @cached_pages ||= []
      page = options[:page] || 1
      check_query_change options
      unless page_cached? page
        @total_deals += deals(options)
        @total_deals.uniq!
        @cached_pages << page.to_s
        @cached_pages.uniq!
      end
      @total_deals
    end
Auto Increment for deals query.