search for: list_admin

Displaying 2 results from an estimated 2 matches for "list_admin".

Did you mean: is_admin
2006 Mar 23
0
Newbie - populating select list from db - BUMP :)
...elect is as below: Processing ListAdminController#listSetting_code (for 127.0.0.1 at 2006-03-22 14:39:17) [POST] Parameters: {"action"=>"listSetting_code", "value"=>"listSetting_code", "1"=>"", "controller"=>"list_admin"} 2 short n00b questions: 1. what it means "1"=>"" in the log file? 2. how do I get the value of option selected in controller method? TIA. Dan -------------- next part -------------- An embedded message was scrubbed... From: Dan Apostol <combat2k@gmail.com> Su...
2006 Mar 22
4
Newbie - populating select list from db
Can''t seem to find an example of this anywhere - how do I populate a select list in a form from a database? I have a form to create a new task. The task is for a client, so there should be a select list populated from my clients table. I thought this would work: <%= select ''task'', ''client_id'', Client.find_all, "id", "name"