RubyFlow The Ruby and Rails community linklog

ActiveRecord Random Ordering with Pagination

I wrote a post about getting a random set of records that can be paginated with ActiveRecord. Includes mySQL and PostgreSQL implementations.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in