search for: select_from_foreign_key

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

2006 Jan 05
0
Re: html generated from scaffold
...n to have foreign keys in most > databases. For example recepies have categories, etc. Isn''t there some > helper to put in the edit form that that can create a select from the > key automatically? For example I''d like to write this in my > _form.rhtml: > > <%= select_from_foreign_key(categories) %> > > and have a select come up with the proper value, especially when > editing. > Take a look at "Scaffolding Extensions" in the plugin list at http://wiki.rubyonrails.com/rails/pages/Plugins. Duane Johnson (canadaduane) http://blog.inquirylabs.com/ -----...