html form post > database (sqlite)

Hi,

I have simple html form and i need to pass those values to xxx.rb
Lets say user inputs some values:
textbox1 -> Paul
textbox2 -> Smith
textbox3 -> M

in xxx.rb i have this line of code:
db.execute "INSERT INTO Kirjed VALUES (date('now'),'Paul','Smith','M')"

Works fine, puts data into sqlite database.
How can i put html form vales into sqlite database when user submits
those values by pressing a button.

I'm not figuring out this from Net::HTTP

Simple example would be appreciated.

I think you are missing the fundamentals of how to use Rails. I
suggest working right through a good tutorial such as
railstutorial.org (which is free to use online) in order to understand
the basics.

Colin