search for: listingadmin

Displaying 1 result from an estimated 1 matches for "listingadmin".

2006 Mar 15
10
Scaffold with Foreign Key
...s users(id), primary key (id) ) TYPE = InnoDB; ------------------------------ and in my User model i have the line: has_many :listing and in my Listing model i have the line: belongs_to :user I generate my scaffold: ruby script\generate Scaffold User Useradmin ruby script\generate Scaffod Listing Listingadmin the problem I''m having is that the scaffold view that is generated for Listing does not have an entry for selecting a User. In fact, the scaffold skips the user_id column completely. -- Vince -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.ru...