Hey, I wrote an article about how you can generate weighted random numbers with some simple algorithms. I think you will like it :)
You can read it here: http://www.blackbytes.info/2016/05/weighted-random-numbers/ Let me know what you think! - Jesus Castello -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e04a78f9-a2d4-4e40-9f3b-e4b6fc5e1232%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.