theodi/open-data-certificate — pull request #549 by benfoxall (2013-08-29 14:30:36+00:00)
Title: stats page last-month

Looks like the `where('"created_at" > ?', [Time.now - 1.month])` was always matching (as a string comparison) on mysql (but not sqlite locally).

This uses arel to generate the where clause