BSD Ports

textproc/ruby-will-paginate 4.0.1 NetBSD

Pagination for views of model queries

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
textproc, ruby
Package size
48.8 KiB, 143.5 KiB installed

Description

Pagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This library makes magic happen. Did you ever want to be able to do just this on a model:

@posts = Post.paginate :page => params\[:page\],
                       :order => 'created\_at DESC'

and then render the page links with a single view helper? Well, now you can.

<%= will\_paginate @posts %>

Install

Binary package:

pkgin install ruby33-will-paginate

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-will-paginate && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.0.1
NetBSD 10.1 aarch644.0.1
SmartOS / illumos x86_644.0.1
macOS 15 arm644.0.1

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-will-paginate-4.0.1, ruby40-will-paginate-4.0.1