Rails G Migrasi Migrasi Asing Optionnal

#MODEL
belongs_to :author, optional: true

#MIGRATION
t.references :author, foreign_key: true
Beautiful Bear