Skip to content

Conversation

dblock
Copy link

@dblock dblock commented Mar 26, 2012

This lets you paginate over all results, not just the last 1000.

Pageviews.all(profile) do |row|
  puts "#{row.page_path} => #{row.pageviews}"
end

Note that the :limit option applies to the total result.

@dblock
Copy link
Author

dblock commented Aug 21, 2015

@Fosome This is old, do you want it? I'll rebase if you do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant