RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: basgys
Site: http://www.bastiengysler.com
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().
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().