Hi, I've tried to post on stackoverflow, but nobody is apparently able to help me.
I'm not going to repeat everything here, there's quite some code in there that is nicely formatted, but if this is a problem I can repost it in here.
http://stackoverflow.com/questions/11865504/postgresql-slow-query-with-activerecord
What seems incredibly strange to me is that postgres is not using the indexes I've set.
Someone has any idea?
TIA,
ngw