Open kikyous opened 3 years ago
@kikyous I'm not a maintainer, you probably want @seuros
@kikyous the PR look fine, but can you add a test case ?
@kikyous the PR look fine, but can you add a test case ?
ok, I will try to add a test case.
@seuros test case added
@seuros ping
In the meantime, if any one stumbles upon this, you can remove the select
from the query that the gem adds with unscope
.
class Stuff < ApplicationRecord
acts_as_taggable
has_many :things
end
class Thing < ApplicationRecord
belongs_to :stuff
end
Thing.where(stuff: Stuff.tagged_with(["foo", "bar"], any: true).unscope(:select))
@enomotodev @donquxiote someone can review this pr?