Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
new methods: paginated_each, paginated_section
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mislav Marohnić  
View profile  
 More options Apr 3 2008, 12:07 pm
From: "Mislav Marohnić" <mislav.maroh...@gmail.com>
Date: Thu, 3 Apr 2008 18:07:51 +0200
Local: Thurs, Apr 3 2008 12:07 pm
Subject: new methods: paginated_each, paginated_section

Hi paginating folks!

Among the tweaks and docs since 2.1.0 release there are 2 new methods.

# paginated_each, a method on ActiveRecord models

http://github.com/mislav/will_paginate/commit/b4c00a7a2ebf3722d6917a7...

Iterates through all records by loading one page at a time. This is useful
for migrations or any other use case where you don't want to load all the
records in memory at once.

# paginated_section, a view helper

http://github.com/mislav/will_paginate/commit/2597848fd36d57b9057b4fd...

Wrapper for rendering pagination links at both top and bottom of a block of
content.

These features were contributed by Rick Olson and Lourens Naudé.
Want to become a contributor? Clone our git repository:
http://github.com/mislav/will_paginate (or fork it on GitHub). Put in your
bright ideas (with docs and tests) and let me know of the changes.

I'm going to release a new gem soon. Until then!

- Mislav


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »