Hi,

i have 2 model, Merchant and Items and using acts_as_taggable_on
Merchant has_many Items, and i try to find Merchant with search logic
including the tags

class Merchant < ActiveRecord::Base
  acts_as_taggable

  has_many :items
end

class Item < ActiveRecord::Base
  acts_as_taggable

  belongs_to :merchant
end


This works
>> Merchant.tagged_with('Tag 1')

but this doesn't
>> Merchant.tagged_with_or_name_like('Tag 1')
Searchlogic::NamedScopes::OrConditions::UnknownConditionError: The
condition 'tagged_with' is not a valid condition, we could not find
any scopes that match this.

Can anybody help me with this ?

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