No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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)