Displaying 1 result from an estimated 1 matches for "add_on_field".
Did you mean:
add_on_fields
2006 Jan 31
2
Design question: Storing user fields
...and fields):
keys: id, user_id, name, type
fields: id, user_id, key_id, item_id, value
(type could be "string" or "number" or something to tell the view how
to render the input box.
2. Stored in a serialized hash in the item:
item: id, user_id, description, price, add_on_fields
Can someone suggest the merits of each approach? I could make either
work, I think, but I don''t have a good feel for how performance is
affected in each case. They seem similarly complex.
Jake
--
Posted via http://www.ruby-forum.com/.