나는 comma
보석 사용하여 다음 호출이 :주문은 쉼표 보석과 레일에 의해 무시되고
def by_location_csv
@inventory_items=InventoryItem.where('location_id=? and is_deleted=false',params[:location_id]).order(:bin_number)
render :csv => @inventory_items
end
을하지만 순서가 로그에두고 무시됩니다 :
Scoped order and limit are ignored, it's forced to be batch order and batch size
어떤 workaroud에이 있습니까 이? 배치 크기를 늘리거나 옵션을 끌 수있는 옵션을 전달할 수 있습니까?