I have faced problem in my database has special characters. Please suggest any solutions
Something like x.instance_variables.each.... { |i} .... }
x.instance_variables.each.... { |i} .... }
Thought to be a one liner. I can't figure out how to apply strip() to each variable, since instance_variable_get returns the value. I really want something I can apply .strip! to....