On Wed, Nov 26, 2008 at 12:17 PM, Matt Wynne <[EMAIL PROTECTED]> wrote:
>> And class variables are problematic in Rails in development mode because
>> of class reloading.
>
> And more generally dangerous for threading reasons, right?


All of the above.  My rule of thumb is: don't use them unless I have a
very, very good reason.  I can't think of the last time I had that
good a reason.

-- 
Avdi

Home: http://avdi.org
Developer Blog: http://avdi.org/devblog/
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to