[Rails] Re: will_paginate generates undefined method paginate

2013-02-24 Thread Mathieu Jobin
you can replace .paginate by .send(:paginate) to cheat it ... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Re: will_paginate generates undefined method paginate

2011-08-28 Thread Songhua H.
Without your answer, I would probably have witch-hunted forever... Thanks hqmq wrote in post #731654: > I found an easy solution to this problem... > Stop the WEbrick server and start it again... > > Seems dumb I know, but I was using the method where you modify config/ > environment.rb to includ

[Rails] Re: will_paginate generates undefined method paginate

2010-09-08 Thread Khaschuluu Munkhbayar
hqmq wrote: > I found an easy solution to this problem... > Stop the WEbrick server and start it again... Yeah I fix it :D 10x -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this gro

[Rails] Re: will_paginate generates undefined method paginate

2009-11-01 Thread Kleber Shimabuku
Aaron Feng wrote: >> I have installed version 2.3 following the tutorial and I still face >> the same issue > > I had exactly the same problem, but I resolved by putting "require > will_paginate" on the _last_ line of the of the environment.rb. Before > I > had it in the beginning of the file,

[Rails] Re: will_paginate generates undefined method paginate

2008-09-25 Thread hqmq
I found an easy solution to this problem... Stop the WEbrick server and start it again... Seems dumb I know, but I was using the method where you modify config/ environment.rb to include this line: config.gem 'mislav-will_paginate', :version => '~> 2.3.4', :lib => 'will_paginate', :source => 'h

[Rails] Re: will_paginate generates undefined method paginate

2008-09-16 Thread THEBIGO
Shuaib85 I have been usisng will_paginate and it seems to work fine. In the railscast episode 51 I believe the code for the pagination was put in the model - moved from the controller. Have you tried this? Also I notice that on your previous post it said that your undifined method was in your l