エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Generating a short UUID string using uuidtools In Rails
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Generating a short UUID string using uuidtools In Rails
I have to generate a unique and random string which is to be stored in database. For doing this I... I have to generate a unique and random string which is to be stored in database. For doing this I have used the "uuidtools" gem. Then in my controller I have added the following line: require "uuidtools" and then in my controllers create method I have declared a 'temp' variable and generating a unique and random 'uuid' string like this: temp=UUIDTools::UUID.random_create which is creating a string

