Re: [Rails] using searchlogic to retrieve ids, then rebuild object?

2010-05-20 Thread Conrad Taylor
On Thu, May 20, 2010 at 11:38 AM, dan wrote: > im giving searchlogic a try to combine named scopes easily > only issue i have is it doesnt return distinct results > ive worked around this with a named scope of grouped which selects > only the id and groups by the id > once ive got the ids, how ca

[Rails] using searchlogic to retrieve ids, then rebuild object?

2010-05-20 Thread dan
im giving searchlogic a try to combine named scopes easily only issue i have is it doesnt return distinct results ive worked around this with a named scope of grouped which selects only the id and groups by the id once ive got the ids, how can i quickly rebuild the object...find(:id=>[...@ids]...or