On 13 Feb 2009, at 09:07, dbreuer wrote: > > > Is there a reason to init the variable via the attribute accessor? > > 149 def open_transactions > 150 @open_transactions ||= 0 > 151 end >
I suspect not. You might find the rubyonrails-core list (or the #rails- contrib irc channel) can provide a more definitive answer. Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

