Paginate a scpecific list

I need to paginate a object list that i created and i don’t find how.

models:
User
has_many :projects
:through=> :particioant
Participant
belongs_to :project
belongs_to :user
User
has_many :projects
:through => :participants

and i need to paginate: @projects = current_user.projects

:slight_smile:

Hi,

I use Bruce William’s paginator - http://codefluency.com/2006/10/24/
paginator-released

HTH,
Trevor

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs