reveloper/pomodorocrate — pull request #3 by jperville (2012-06-15 13:05:33+00:00)
Title: Make analytics tab postgres-compatible

Works around Activity.default_scope when calculating pomodoro statistics (Activity "group by" counters).
The default_scope injected unrelated columns in the generated query, resulting in invalid SQL that made postgres raise loudly.