On Sep 29, 1:40 pm, adedip <[email protected]> wrote:
> On 29 Set, 11:50, Frederick Cheung <[email protected]> wrote:
>
>
> because I have to do the @search part using acts_as_solr (for studying
> purpose)
>
I realise this, but given that (as far as I can tell) you've loaded
all of your article objects you might as well to the intersection of
the various results there and then rather than intersecting their ids
and loading them again from the database.

Fred


> (I've bound @aut and @range in the se same query now)
>
>
>
>
>
> > Fred
>
> > > (btw I've just realized that I can avoid the two Article.find arrays
> > > by extending conditions in only one of them :P)
>
> > > > > ----
>
> > > > > what's wrong? :S
> > > > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to