RailsCasts Pro episodes are now free!

Learn more or hide this

Bastien Gysler's Profile

GitHub User: basgys

Site: http://www.bastiengysler.com

Comments by Bastien Gysler

Avatar

I know you posted this question 1 year ago, but it could be useful for some people.

RAND() is specific to MySQL, so if you are using PostgreSQL for instance it's random().