Railsアプリでコンテンツを投票するためにこのシステムを使用しています: https://github.com/twitter/activerecord-reputation-system
投票可能なアイテムのデフォルトスコアをインスタンスごとに乱数にする方法はありますか?
rand(5..12) のようなものを保存すると、ランダムなデフォルト値が 1 回だけ選択されます。異なる行またはフィールドごとにランダムなデフォルト値を取得するにはどうすればよいですか?
      create_table "rs_evaluations", :force => true do |t|
t.string   "reputation_name"
t.integer  "source_id"
t.string   "source_type"
t.integer  "target_id"
t.string   "target_type"
t.float    "value",           :default => 0.0
t.datetime "created_at",                       :null => false
t.datetime "updated_at",                       :null => false
終わり