Forum: Ruby on Rails Scaffold and foreign keys

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
86870beed637fb9723201a4794596c18?d=identicon&s=25 phirefly (Guest)
on 2007-05-27 16:13
(Received via mailing list)
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 topic is locked and can not be replied to.