Hi !


Im learning Sinatra, while i was doing that.... i realize that i didnt
understand nothing about passing variables via URL [GET]

i understand that i can:

get '/:something' do
  "Print #{params[:something]}!"
end

but how may i create that var called "something" ?
SCRIPT-> create "something"
URL/:something
THEN-> GET "something"

thats my question :)

sorry my english!

Regards!

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