Rails G Migration Fremd Key Optionnal
#MODEL
belongs_to :author, optional: true
#MIGRATION
t.references :author, foreign_key: true
Beautiful Bear
#MODEL
belongs_to :author, optional: true
#MIGRATION
t.references :author, foreign_key: true