Skip to content

Instantly share code, notes, and snippets.

View Ragmaanir's full-sized avatar
🐢
Compiling ...

Ragmaanir Ragmaanir

🐢
Compiling ...
View GitHub Profile
@FND
FND / .gitignore
Created September 27, 2011 06:56
test case for eager loading of nested associations with DataMapper
Gemfile.lock
@jpr5
jpr5 / 1_SELECT_construction_logic.txt
Created January 14, 2010 19:19
JOIN logic assessment, logic and fails (0.9x-current)
See associated gist for simple definitions of Project, User, Task, Answer models
referenced herein.
Summary:
I believe the logic about how JOINs are constructed needs to fundamentally
change. In order to create the correct JOIN SQL, the logic needs to be
aware of and account for how an individual query param's "links" are related
to each other *only*, instead of how they the query param's themselves
relate to each other (which is how I intepret how it works now).