Hi Peter,

peter_tellgren wrote:
> I just started to build a advance search for a site and I am
> I tried using the attribute
> has author.taggings.tag.id, as => tag_id
> But this won't work as id is a reserved word.

try "has author.taggings.tag(:id), :as => :tag_id"

-- James Healy <jimmy-at-deefa-dot-com>  Wed, 15 Apr 2009 20:05:23 +1000

--~--~---------~--~----~------------~-------~--~----~
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