add new "random" method on active record to generate random strings