All fixed!
Had to put in [“david”] to the Hash and its accepted the bid!
Thanks to everyone that helped!
Adam K
All fixed!
Had to put in [“david”] to the Hash and its accepted the bid!
Thanks to everyone that helped!
Adam K
I think its because I was setting it to an array without realising. I
was doing
item = cgi.params[‘item’]
so it was stored that way.
I will have a look tomorrow as I am extremely tired!
Thanks though Joel, Really appreciate all the help.
Another alternative would be
item = cgi.params[‘item’][0]
or
item = cgi.params[‘item’].first
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs