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
If you have TS and something else both trying to define ActiveRecord::Base.search, it's unclear which implementation you will end up with. If TS also defined something like ActiveRecord::Base.ts_search, then this could be used to target TS specifically.
A monkeypatch to accomplish this:
# To disambiguate #search (ES vs TS).moduleDisambiguousThinkingSphinxextendActiveSupport::ConcernmoduleClassMethodsdefts_search(query=nil,options={})merge_searchThinkingSphinx.search,query,optionsendendendActiveRecord::Base.includeDisambiguousThinkingSphinx
The text was updated successfully, but these errors were encountered:
Related to #1241.
If you have TS and something else both trying to define
ActiveRecord::Base.search
, it's unclear which implementation you will end up with. If TS also defined something likeActiveRecord::Base.ts_search
, then this could be used to target TS specifically.A monkeypatch to accomplish this:
The text was updated successfully, but these errors were encountered: