Phlip wrote:
> Grayson Piercee wrote:
>
>> User.find(:all, :conditions => ["interests in
>> (?)",current_user.interests)
>
> Here's a wild guess. I hope someone else corrects it if I have lead you
> astray!
such as...
User.find(:all, :include => :interests,
:conditions => [ "interests.
Grayson Piercee wrote:
> User.find(:all, :conditions => ["interests in
> (?)",current_user.interests)
Here's a wild guess. I hope someone else corrects it if I have lead you astray!
User.find(:all, :include => :interests,
:conditions => ["interests.id IN (?)",current_user.interests]
:orde
2 matches
Mail list logo