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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Rob Biedenharn at Oct 8, 2012 at 6:39 pm
    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:

    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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 8, '12 at 2:00a
activeOct 8, '12 at 6:39p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Rob Biedenharn: 1 post John Merlino: 1 post

People

Translate

site design / logo © 2022 Grokbase