Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Threading Bug in Paginator.rb Helper #164
It seems like https://github.com/amatsuda/kaminari/blob/master/lib/kaminari/helpers/paginator.rb#L58 has some hacky code that does not play well when running on JRuby in threadsafe mode. As a work around, patching it to this in an initializer fixed the problem.
module Kaminari module Helpers Paginator.class_eval do def to_s super @window_options.merge(@options).merge :paginator => self end end end end