随机用户名 随机的Heroku样式名称生成器。 安装 将此行添加到您的应用程序的Gemfile中: gem "random_username" 然后执行: $ bundle 或自己安装为: $ gem install random_username 用法 RandomUsername.username => "hollowlight" => "legitsunrise" => "earthyleaf" RandomUsername.username(:min_length => 6, :max_length => 8) => "fitcow" => "boldhero" => "topc