我最近決定將我的索引引擎從sphinx移植到solr。在使用kaminari和think_sphinx之後,我決定嘗試在太陽黑子https://github.com/sunspot/sunspot/pull/64/https://github.com/sunspot/sunspot/pull/67中使用通用分頁,以避免移動到will_paginate。 我的搜索爲如下處理: @search = A
很簡單分頁設置給我下面的錯誤: NoMethodError in Projects#index
Showing /users/MasterControl/div/ikon/app/views/projects/index.html.erb where line #32 raised:
undefined method `current_page' for nil:NilClass
Ext