daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. How can pagination be done in ruby on rails 3.1?
  2. gem 'kaminari'
  3.    
  4. @users = User.order(:name).page params[:page]
  5.    
  6. <%= paginate @users %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top