From: patrick-may@... (Patrick May) Date: 2002-08-13T01:48:04+09:00 Subject: Re: Handling forms on database driven websites Philip Mak wrote in message news:<20020812074049.GH5036@trapezoid.interserver.net>... > So, I am still in search of the perfect, minimal-effort way to > generate HTML for, and process the input of forms on a database-driven > website. > > Does anyone have any pointers to offer? There always seems to be this amount of pain. But here's an idea: class Form def insert unless (table_exists?) create_table end sql_insert_data end end Sure you're checking for the table each time, but this could make things easier for you. ~ Patrick