[EMAIL PROTECTED] wrote: > Great, but is it safe when using multiple Request?
Closures capture a reference to the variable. So it will always refer to the same variable. That's only usually a problem if your variable is in the global scope. If your var is scoped to a previous enclosing sub then it will be fine. -- Michael Peters Developer Plus Three, LP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
