Will_paginate undefined method error - Ruby on Rails?

I used the script/console to determine if will_paginate was correctly installed properly and it wasn't. I had to add.

I used the script/console to determine if will_paginate was correctly installed properly and it wasn't. I had to add: config. Gem 'will_paginate', :version => '~> 2.3.11', :source => 'http://gemcutter.

Works great. Simple fix.

None of the other fixes have worked for me, but after 2 hours of fiddling, putting the a require 'will_paginate' as the last line of environment. Rb (after the end statement) worked. I am usng 2.3.11 and bundler.

I was suprised at this fix!

I experienced an undefined method error with the will_paginate gem (using Rails 3) because I mistakenly placed the . . .

Gem 'will_paginate' . . .

Command in the wrong place in Gemfile. Make sure you have it placed where it will be available to all runtime environments--not nested inside a bundle for a partitioned-off environment such as: group :test do . .. End.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions