During development I noticed that in newer Ruby versions (I'm running ruby 2.2.3p173) I was getting the following error when using will_paginate-bootstrap:
ActionView::Template::Error: uninitialized constant ActionView::CompiledTemplates::BootstrapPagination
After some debugging I found out that the include didn't seem to work properly when loading the Rails version of the gem. I fixed this by implicitly defining which BootstrapRenderer to include.
During development I noticed that in newer Ruby versions (I'm running ruby 2.2.3p173) I was getting the following error when using will_paginate-bootstrap:
ActionView::Template::Error: uninitialized constant ActionView::CompiledTemplates::BootstrapPagination
After some debugging I found out that the include didn't seem to work properly when loading the Rails version of the gem. I fixed this by implicitly defining which
BootstrapRenderer
to include.