Add .page method to will_paginate/arrays #248

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@tyrw

tyrw commented Jun 29, 2012

Add .page method to will_paginate/arrays, forwards options into .paginate method

@mislav

This comment has been minimized.

Show comment Hide comment
@mislav

mislav Jan 10, 2013

Owner

I won't add new methods to Array. The page() method is only a good fit for chained objects anyway, such as Active Record Relation. People who paginate Arrays (a rare use case) should simply use paginate().

Owner

mislav commented Jan 10, 2013

I won't add new methods to Array. The page() method is only a good fit for chained objects anyway, such as Active Record Relation. People who paginate Arrays (a rare use case) should simply use paginate().

@mislav mislav closed this Jan 10, 2013

@mislav mislav referenced this pull request Jan 10, 2013

Closed

Add #page method in array #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment