From: "Danilo L." Date: 2012-04-30T12:30:48+09:00 Subject: Re: ruby/shoes GUI - sqlite, how to isert a variable key in table? I have a new problem =\ when i put a button to save it adds the table "(editline Shoes ::)" code: require 'sqlite3' Shoes.app do @name = edit_line button "save" do db = SQLite3::Database.new "test.db" db.execute "create table test (test VARCHAR(25))" db.execute "insert into test (test) values ('#{@name.text}')" rows = db.execute "select * from test" rows.each{|name| para "#{name}"} end end -- Posted via http://www.ruby-forum.com/.