Rails 3 - string in URL - how to get it and what about routing

I am newbie in RoR and a few past days I am struggling with strings in
URL. I have some items in database and these items I would like to
insert them to URL. For example, my web:


Items in database:

items1 items2 items3

I am thinking, how to edit routes.rb and my controller for following the
shape of URL:


Had someone similar problem or have someone some hints, how to do? I
would be very glad for any help. I have no idea how to do :confused:

Thank you in advance.