Re: changing the type of a variable

That’s it. If it still complains, make sure that you changed it in the
right/all place(s). Puts some messages around the code to make sure that
the problem is really in between those messages. You can also use
@items.inspect in those messages to see what type @items really is.
Whatever you output with puts should appear in the terminal where you
ran your server from.

Gennady.