I am working with Railsspace social networking book. I stuck in the
problem when i am doing paginate for the search result. It gives the
following error.
El martes, 22 de mayo de 2012 15:37:04 UTC+2, Ruby-Forum.com User
escribi:
end
You dont have a "def paginate " method defined in your controller.
Anyway you’ll probably want to use a pagination gem such as Kaminari,
which
includes all you need for that purpose.
You dont have a "def paginate " method defined in your controller.
Anyway you’ll probably want to use a pagination gem such as Kaminari,
which
includes all you need for that purpose.
Hi Juan,
Thanks for the help message. Juan I am newbie on ROR could you please
help me how to install kaminari.
Is it right command to run “gem install kaminari” as I am working on
windows.
It’s right, but your best approach is to add ‘gem kaminari’ to your
Gemfile
and to use rvm.
I don’t have much experience on rails + windows issues, but I know they
can
be a real pain, so I’d also suggest that you use linux instead for rails
development, in a virtual machine if for some reason you can’t install
linux in your computer.
On Tuesday, 22 May 2012 09:37:04 UTC-4, Ruby-Forum.com User wrote:
I am working with Railsspace social networking book. I stuck in the
problem when i am doing paginate for the search result. It gives the
following error.
Don’t use that book - it’s severely outdated and will cause you a lot of
problems. See here for details:
–Matt J.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.