我希望用户从orders表单中的items表中搜索现有项,它对客户端有效,但对项无效,它给出了一个错误:关联:item not class Order < ActiveRecord::Basestatus, items_attributes: [:id, :name, :price, :quantity, :status, :_destroy])回答
在表单中改为使用:使用rails-select2
当我显示ruby版本时,它显示2.0.0。$ ruby -v当我尝试启动solr服务器时,它提示缺少一个包。$ RAILS_ENV=development rake sunspot:solr:start
Could not find unicode_utils-1.4.0 in any of the sources然后,当我尝试bundle install时,我得到了以下错误。但我仍然收到相同的错误