Hopefully I am just missing how eager associations work in Sequel:

I am trying to get eager loading working for a simple association
whose foreign key is different than the default.  I can see the
correct sequel statement running in the log, but the cached value
comes up empty.

I assume I could work around it with a custom :eager_block, but for
such a simple association, this seems silly.

I have created a project which makes a simple test for the bug via
some rspecs that fail for me (along with a copy/paste of the failures
I got), and posted it at:  http://github.com/paploo/sequel_eager_test/

If you have any questions, you are welcome to message me at my github
account, or directly at my posted e-mail address.

Btw, thanks for the awesome ORM.  We did a week long search and test
of ORMs before we settled on this one.  :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to