Pat

I had a look at your example but I'm not sure it does excactly what i
need....
The privacy check should only be applied to the "Lastname" attribute
of the user model, not to "description" and "firstname".


How can i achieve something like that?

Thanks

Pascal

>
> > >>>> # This will match 0 for public users, and the user id for private
> > >>>> users
> > >>>> User.search "whatever", :with => {:user_limit => [0, user.id]}
>
> > >>>> Give that a shot.
>
> > >>>> Cheers


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to