Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
README
nthrecord-0.1.2.gem
nthrecord.gemspec

README

Nthrecord is a simple tool for querying a database through ActiveRecord and returning every nth record.

Installation: 

gem install nthrecord

Example:

# query every third record
@users = User.nthrecord(3)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.