Ruby on Rails
Wednesday, May 23, 2012
El miércoles, 23 de mayo de 2012 08:31:51 UTC+2, Ruby-Forum.com User escribió:
> 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.
Thanks in advance
Amir
--
Posted via http://www.ruby-forum.com/.
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.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/OHLT1AguKowJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment