search for: list_num

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

2006 Jul 08
9
How to handle dynamically columned tables in rails
...have to do any database programming, schema designs, etc. Just select the columns and types (from a very limited list -- date, text, longtext). Of course in PHP I could just have the program create tables and keep another table of the lists that has each column in a particular list in a row (list_num, name_of_list, column_name, column_type). Another way to do it that doesn''t result in the end user having to create new tables is to have a table that has core columns for ALL lists (id, title, description) and then join that table to columns by type of data on the fly. So, select * f...