는 모델이 : 나는 기대,searchlogic?
class MenuItem < ActiveRecord::Base
translates :title
end
및 searchlogic에 연결하는 작업을 다음
>> MenuItem.search(:title_like => 'tea')
슬프게도, 그렇지 않은 :
Searchlogic::Search::UnknownConditionError: The title_like is not a valid condition. You may only use conditions that map to a named scope
일할 수있는 방법이 있습니까?
P. 내가 workging을 얻을 수 있었다 가장 가까운이었다 :
>> MenuItem.search(:globalize_translations_title_like => 'tea')
어떤 좋은 보이지 않는다.