lshift/diffa-rails-adapter-tutorial — pull request #1 by anthonyls (2012-11-02 16:50:18+00:00)
Title: Faulty trade aggregation and filtering

* Aggregation by trade date was broken by the entity ID ordering patch (unhandled exception when the entity ID was missing).
* Filtering by trade date was never correct, since the column type of the relevant views was varchar instead of date, causing any range queries to be text comparisons instead of date comparisons - very unexpected and undesirable results.