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
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
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
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,
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
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
6 matches
Mail list logo