I found this code:
.each_key {|a| self[a].strip! if self[a].respond_to? :strip! }
on this website: http://granth.ca/2006/02/strip-whitespace
but I assume that is for a hash, I am trying to do the same with an array.
I have tried a few different things, but cannot figure it out.
Thank you for any help