You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using mongoid-3.1.0 and mongoid_taggable-1.1.1.
I was able to add tags to the Merchant object, see below
m = Merchant.first
m.tags_array
["daily deal", "general", "flowers"]
Also, when I use Merchant.tagged_with('flowers'), it returns the correct results.
However, when I execute Merchant.tags, Merchant.tags_with_weight, I get an empty array. Any ideas?
P.S. I also don't think the models are being indexed.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using mongoid-3.1.0 and mongoid_taggable-1.1.1.
I was able to add tags to the
Merchant
object, see belowAlso, when I use
Merchant.tagged_with('flowers')
, it returns the correct results.However, when I execute
Merchant.tags
,Merchant.tags_with_weight
, I get an empty array. Any ideas?P.S. I also don't think the models are being indexed.
The text was updated successfully, but these errors were encountered: