We're storing the xml communications with an external service in a text in the db and in a before_create
I've got the following:
# filter opera password
def remove_password!
self.request.gsub! /UserPassword\>[^\<]*\<\//,
'UserPassword>[FILTERED]</'
end
Is there a better, safer way of doing it?