Use single quotes when no string interpolation is needed.
Moreover you can directly use ```params[key].to_s```, since ```nil.to_s``` will result in ```''``` ;)