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

Posible duplicate records in finders #993

Open
brusacco opened this issue Apr 2, 2020 · 0 comments
Open

Posible duplicate records in finders #993

brusacco opened this issue Apr 2, 2020 · 0 comments

Comments

@brusacco
Copy link

brusacco commented Apr 2, 2020

Hello,
I have a model Entries, that have two "taggings", tags and tags_title.

When I use the tagged_with("word") method, and if the Entry has both tags and tags_title with that tagged "word", it returns 2 ENTRIES ... the same one, but duplicated.

I solve this using the tagged_with("words", :on => :tags) ... but it's strongly advised to put a warning in the docs about this. I have been using "tags" for a while, and then we added the "tags_title" recently.

Is this normal?

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

1 participant