0202nobodyさん垢版 | 大砲2017/02/23(木) 23:46:39.05ID:??? そういうときは find_or_create_by か find_or_initialize_by を使うのが定石 ブロック渡せば、望むような初期化処理が出来る