views:

233

answers:

0

I'm using DataMapper, an open source ORM for ruby, and I have in itch I would like to scratch. At the moment, DataMapper can use Strategic Eager Loading(SEL) for one-to-many relationships, but not many-to-many, where N+1 queries occur. I would like to hack around with making this work correctly, but I cannot find where to do it. So two part question:

  1. How to I run the test suite so it will show this to be failing (nb. right now all the specs that should be failing are marked as pending)?
  2. Where and how is SEL implemented for one-to-many relationships?