sqlite3 insert statement:
db.execute "INSERT INTO events(#{keys.join(',')}) VALUES (#{(['?'] *
keys.size).join(',')})", *values

I'm very confused about this part:
(#{(['?'] * keys.size).join(',')})", *values

how can I write a mysql insert statement that functions the same?

Thanks a lot!

-- 
Posted via http://www.ruby-forum.com/.