DEV Community

acts-as-taggable-on causing SQL errors when ordered by relation

Drew Bragg on December 05, 2018

I’m having a weird issue with acts-as-taggable-on when using tagged_with and the any flag. My model looks something like this: class Document &l...
Collapse
 
ben profile image
Ben Halpern

I've run into this too. I can't remember if I found a solution or just went in another direction.

I can't offer a lot of insight now but I'll give this some thought and come back to you if I have time to look into it.

Good luck!

Collapse
 
drbragg profile image
Drew Bragg

Thanks, Ben, I appreciate it!

Ordering by phase works fine if I'm searching by drug or area, but the moment either types or tags is included I get the error. It's giving me a fun headache

Collapse
 
drbragg profile image
Drew Bragg

Still haven't figured this out. Might be opening up an issue on their GitHub if I can figure out a work around.