missing method "include_method?" for array #1

Closed
lennart opened this Issue Jun 2, 2009 · 7 comments

Comments

Projects
None yet
4 participants

lennart commented Jun 2, 2009

Seems like the current version is trying to find out whether ActionView::Base does include the "will_paginate" method.
I hope it's just the typo and you meant to use include? instead of include_method?
Line 20 in will_paginate.rb
I am currently running ruby 1.8.7 with rails 2.3.2 and the latest master of this plugin

Owner

mislav commented Jun 2, 2009

require core_ext before trying to use include_method? in enable_actionpack

closed by dbc3975

maypie commented Jan 15, 2010

I cannot run script/server in my application due to this error:
enable_actionpack': undefined method include_method? In addition, the error intermittently causes Phusion Passenger to not load with this error: undefined methodinclude_method?' for #Array:0x2506714
Further, when I run, sudo rake install:gems, I get:
rake aborted!
undefined method `include_method?'

Any help is appreciated!

Owner

mislav commented Jan 15, 2010

Are you using will_paginate gem 2.3.12?

mickey commented Jan 18, 2010

I got the same error with rails 2.3.4 and AFAIK there's no 2.3.12 gem on github or gemcutter ... only 2.3.11

Owner

mislav commented Jan 19, 2010

My bad, I forgot to push 2.3.12.

But that won't help, because the fix for this is in 2.3.11. I can't reproduce your issue in a blank Rails 2.3.4 app, so I guess I'll need more specifics about your environment (ruby version etc)

mickey commented Jan 19, 2010

We finally found the issue,
it looks like we had the 2.3.11 gem AND the 2.3.6 plugin ... removing the plugin fixed everything,

Thanks for your help,

maypie commented Jan 21, 2010

When I installed the plugin to my vendor directory, the problem disappeared.

Thank you.

@egiblin egiblin pushed a commit to egiblin/will_paginate that referenced this issue Feb 22, 2017

@AlexMerritt AlexMerritt Merge pull request #1 from codeforboston/master
pull
216b91b

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment