Skip to content

Instantly share code, notes, and snippets.

@chebyte
Created March 13, 2009 18:15
Show Gist options
  • Save chebyte/78683 to your computer and use it in GitHub Desktop.
Save chebyte/78683 to your computer and use it in GitHub Desktop.
# En el controlador
@users = User.paginate(:page => params[:page])
# En la vista
<%= will_paginate(@users) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment