I see what you mean. However,
x=3 if false x=2 end puts x This code outputs 3, not nil. And I think that's a more appropriate analogy. I really don't understand what's happening though. Frederick Cheung wrote in post #1022322: > On Sep 16, 2:58pm, "Jonathan S." <[email protected]> wrote: >> puts params[:entity_selection] >> end >> >> So if it were the case that the params hash being mentioned could >> overwrite it, then this version of the code would fail, right? >> > > Except that it's not mentioned any more - it's commented out > ( mentioned is obviously a rather wooly term) > > Fred -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

