Displaying 1 result from an estimated 1 matches for "record_or_id".
2005 Aug 05
0
Finding by inclusion in nested set
...upported by
AR#find. Of course, I could write this SQL manually, but that''s not
what I want. Therefore I intend to write a patch to enhance find. I''m
not sure about the "user interface", however. My current best idea is
Task.find(:all, :belongs_to => [:category, record_or_id])
Any suggestions?
Michael
--
Michael Schuerig The Fifth Rider of the Apocalypse
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org is a programmer.
http://www.schuerig.de/michael/