Forum: Ruby on Rails Scaffold and foreign keys

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
phirefly (Guest)
on 2007-05-27 18:13
(Received via mailing list)
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?

This topic is locked and can not be replied to.