Paginating HABTM?

Is there an easy way to paginate HABTM? Something like (which doesn’t
work):

  @pages, @directories = paginate :directories,
    :include=>:categories,
    :per_page=>ITEMS_PER_PAGE

directories and categories have an HABTM association.

Joe

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