Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.tags, .tags_with_weight not working? #31

Open
netwire88 opened this issue Mar 26, 2013 · 3 comments
Open

.tags, .tags_with_weight not working? #31

netwire88 opened this issue Mar 26, 2013 · 3 comments

Comments

@netwire88
Copy link

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.

@hayksaakian
Copy link

I'm on mongoid 3.1.3 and mongoid_taggable 1.1.1 and everything works ok
did you

include Mongoid::Taggable

I mention this because I don't have the same problem you do with the same setup

@calebjclark
Copy link
Collaborator

@netwire88 are you still having this issue? I'm starting to work on a new version, but first I want to clear out any bugs.

@netwire88
Copy link
Author

Yes. I just ended up not using the feature.

Cheers,

On Oct 12, 2013, at 8:51 PM, Caleb Clark [email protected] wrote:

@netwire88 https://github.com/netwire88 are you still having this issue?
I'm starting to work on a new version, but first I want to clear out any
bugs.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/31#issuecomment-26209268
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants