Skip to content

Instantly share code, notes, and snippets.

@tpitale
Created May 4, 2009 17:14
Show Gist options
  • Select an option

  • Save tpitale/106552 to your computer and use it in GitHub Desktop.

Select an option

Save tpitale/106552 to your computer and use it in GitHub Desktop.
Exits.results(profile, :limit => 10,
:offset => 20,
:start_date => (Date.today - 30),
:end_date => Date.today)
# With Filtering and Sorting
Exits.results(profile) do
filter :request_uri.contains => 'fun', :exits.gte => 1000
sort :exit_rate
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment