Re: [Rails] dup/clone and taintedness

2012-10-08 Thread Rob Biedenharn
Taintedness refers to a default lack of trust in a value that was obtained from an unknown source. (Typically user input of some kind.) http://www.ruby-doc.org/docs/ProgrammingRuby/html/taint.html http://en.wikipedia.org/wiki/Taint_checking -Rob On Oct 7, 2012, at 9:54 PM, John Merlino wrote:

[Rails] dup/clone and taintedness

2012-10-07 Thread John Merlino
I was reading this: these methods allocate a new instance of the class of the object on which they are invoked. They then copy all the instance variables and the taintedness of the receiver object to the newly allocated object. What does it mean taintedness? thanks for response -- You