deduce (owner)

Revisions

gist: 10809 Download_button fork
public
Public Clone URL: git://gist.github.com/10809.git
Embed All Files: show embed
Text #
1
2
3
4
5
6
7
def self.find(*args)
     if args.first.to_s == "random"
          super(find(:first , :offset => (count * rand).to_i))
     else
          super
     end
end