Re:Learn SQL, dammit
by pjungwir on Wednesday May 08, 2013 @03:15PM
(#5676231)
Well, adding joins to the outermost query can limit your options re how you use the scope. For instance, `joins` sets a read-only flag on the AR result, so you can't say Employee.with_assignments.destroy_all, for example, to, um, fire all your busy people. :-)
[ Parent
| on HN ]
There are no comments on this comment yet.