a guest Aug 10th, 2018 55 Never
- How can pagination be done in ruby on rails 3.1?
- gem 'kaminari'
- @users = User.order(:name).page params[:page]
- <%= paginate @users %>
RAW Paste Data