2014-01-25 49 views

回答

1

搜索了一段時間後,我找到了答案here。語法是

ThinkingSphinx::Index.define 'spree/product', :with => :active_record do 
    ... 
end