From: Joel Pearson Date: 2013-01-19T22:30:04+09:00 Subject: Re: Adding file directory automatically Another alternative would be item = cgi.params['item'][0] or item = cgi.params['item'].first -- Posted via http://www.ruby-forum.com/.