2021-04-14 【ruby】nilの場合空文字を入れる処理 value || '' value.to_s to_sの場合は文字コードに注意 参考 https://qiita.com/scivola/items/1f6704f81aba18df9012