Use :joins instead of :include to pull in the changesets - this does an
authorTom Hughes <tom@compton.nu>
Wed, 29 Apr 2009 23:45:54 +0000 (23:45 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 29 Apr 2009 23:45:54 +0000 (23:45 +0000)
commit5c734eb7aec2cbab51ae7500c3369e065371638a
tree6a293cbfbda18502703eb4f8136164db8e46010e
parentdb17af19bb75a09494868e002ae6680c6d05cab3
Use :joins instead of :include to pull in the changesets - this does an
inner join instead of a left outer join (which is fine as all objects should
have a changeset) and more importantly stops rails generating a subquery
that doesn't work.
script/statistics