allourideas/pairwise-api — pull request #26 by vitorbaptista (2012-08-28 19:14:57+00:00)
Title: Add optional parameters for Question's user_ideas, active_user_ideas and votes_since

Hi Luke,

I don't know if this is useful for you, but I guess I found a bug in allourideas. In HomeController#admin,

```ruby
%td= q.recent_votes
-if current_user.admin?
%td= q.user_ideas
%td= q.active_user_ideas
```
https://github.com/allourideas/allourideas.org/blob/master/app/views/home/admin.html.haml#L35-36

You try to get the question's recent_votes, user_ideas and active_user_ideas. But they're not being returned by Pairwise. I had to add this patch to fix it.

Am I doing something wrong, or this really is a bug?

Cheers!
Vítor.