Closed GoogleCodeExporter closed 9 years ago
This looks like a load path order problem.
If you have the gem installed, its directory is in the load path before the
plug in
directory. Hence the unaltered system file get required rather than the patched
version.
Probably better to put the monkey patch in a seperate file and include it
specifically so that it will add the missing method to what ever Paginator gets
loaded.
I'll try to whip up a patch tonight.
Original comment by andrew.s...@gmail.com
on 20 Feb 2010 at 12:42
Here's a quick patch... can someone take a look and make sure I haven't screwed
up
something completely :)
Original comment by andrew.s...@gmail.com
on 20 Feb 2010 at 1:02
Attachments:
Fixed, I didn't know paginator gem, neither paginator.rb were a copy from that
gem.
Original comment by sergio.c...@gmail.com
on 22 Feb 2010 at 8:55
Original issue reported on code.google.com by
andrew.s...@gmail.com
on 20 Feb 2010 at 12:38