sportngin/timeline_service — pull request #2 by pbyrne (2013-03-18 00:22:33+00:00)
Title: Provide Class-Level Filtering

This uses [the periscope gem][periscope]. Define scopes and whitelist them to be accessed with Entry.periscope(hash_of_query_things).

QA Plan
-------

1. `rake db:setup db:seed`
2. `rails console`
3. `entry = Entry.first`
4. `results = Entry.periscoe(user: entry.user_id, actions: entry.action_type) && puts results.count`. You should see a random but large number of results.