sferik/rails_admin — Issue #816: Name Error (undefined local variable or method 'per')
Author: jackquack
Created: 2011-11-03 15:26:18+00:00
State: open

I know this isn't actually an error with rails_admin, but with will_paginate (https://github.com/mislav/will_paginate/issues/174), but since I'm suffering from the bug while using rails_admin, it's a dependency of rails_admin, I wanted to post here as a marker for others suffering this issue to find.

On the will_paginate issue tracker, someone has posted a workaround initializer, but it isn't solving the entire problem for me. It just bugs out on another line, which complains of 'undefined method' 'total_count'

94: - total_count = @objects.total_count

I'll post again if I find a full solution.