Scaffold and foreign keys

Hello,
I create a migration to add a foreign key ‘page_id’ to a table
‘main_sections’. After running the migration and adding the column,
the scaffol that I have on the main_setions table does not add the
foreign key into the CRUD.

Any ideas why this is the case?

Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs