activerecord_random 1.0.0.rc2
ActiveRecord Random is a Ruby Gem that empowers your ActiveRecord Models with the ability to return a random record without using SQL RAND().
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
~> 3.0.1
Development 相依性套件 (5):
database_cleaner
~> 0.6.0
factory_girl_rails
~> 1.0.0
mysql2
~> 2.0
rspec
~> 2.0
ruby-debug19
~> 0.11.0