Rails heroku帮助kaminari查看错误

由于kaminari,我的heroku日志中出现错误。 pagnation不能在我的本地电脑上运行。

这是我的日志:

I@PC /c/rails/myapp (master) $ heroku logs 2011-05-04T12:24:15-07:00 heroku[web.1]: State changed from created to starting 2011-05-04T12:24:15-07:00 heroku[slugc]: Slug compilation finished 2011-05-04T19:24:16+00:00 app[web.1]: >> Stopping ... 2011-05-04T19:24:24+00:00 app[web.1]: >> Thin web server (v1.2.6 codename Crazy Delicious) 2011-05-04T19:24:24+00:00 app[web.1]: >> Maximum connections set to 1024 2011-05-04T19:24:24+00:00 app[web.1]: >> Listening on 0.0.0.0:47387, CTRL+C to s top 2011-05-04T12:24:25-07:00 heroku[web.1]: State changed from starting to up 2011-05-04T19:24:25+00:00 app[web.1]: 2011-05-04T19:24:25+00:00 app[web.1]: 2011-05-04T19:24:25+00:00 app[web.1]: Started GET "/konkurrencer" for MYIP .103 at 2011-05-04 21:24:25 +0200 2011-05-04T19:24:32+00:00 app[web.1]: 2011-05-04T19:24:32+00:00 app[web.1]: ActionView::Template::Error (undefined loc al variable or method `prev_span_tag' for #): 2011-05-04T19:24:32+00:00 app[web.1]: 7: paginator: the paginator th at renders the pagination tags inside 2011-05-04T19:24:32+00:00 app[web.1]: 8: -%> 2011-05-04T19:24:32+00:00 app[web.1]: 9:  2011-05-04T19:24:32+00:00 app[web.1]: 10: 

我的观点文件:

  SOME CODE   

我的控制器:

 def konkurrance_oversigt @konkurrencerb = Konkurrancer.page(params[:page]).per(15) @titel = 'konkurranceoversigt' end 

看来你正在使用旧的自定义主题为Kaminari’<0.11'与更新的Kaminari宝石。

你能否删除整个

应用/视图/雷

目录并再次重新创建分页模板? 谢谢!