# Plugin Announce: active\_record\_random\_find (finding random models with ActiveRecord)

**URL:** <https://www.ruby-forum.com/t/plugin-announce-active-record-random-find-finding-random-models-with-activerecord/162256>\
**Category:** Rails\
**Created:** [March 7, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/plugin-announce-active-record-random-find-finding-random-models-with-activerecord/162256 "2009-03-07T16:58:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rooster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/71c47a/32.png) [@rooster](https://www.ruby-forum.com/u/rooster)\
**Post date:** [March 7, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/plugin-announce-active-record-random-find-finding-random-models-with-activerecord/162256/1 "2009-03-07T16:58:51Z")

</div>

Need to get a random record from the database using Active Record? Use  
the spiffy new plugin Active Record Random Find, which uses no  
vendor-specific database function calls.

> **[GitHub - mshiltonj/active\_record\_random\_find: Easily find a random Active Record...](https://github.com/mshiltonj/active_record_random_find/tree/master)**
>
> master

I wrote a little bit about it here:

[http://foobarosa.blogspot.com/2009/03/how-to-find-random-model-in-database.html](http://foobarosa.blogspot.com/2009/03/how-to-find-random-model-in-database.html)

–  
Steven H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
