Random Finders plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://source.collectiveidea.com/public/rails/plugins/random_finders/
Examples
========
Find a random article
Article.find(:first, :order => :random)
Randomize photos
Photo.find(:all, :order => :random)
Caveat
======
This will not treat you nicely with large datasets.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago

