From: Walton Hoops Date: 2009-12-22T23:57:29+09:00 Subject: Re: Symbols vs. constants? > -----Original Message----- > From: Gary Wright [mailto:gwtmp01@mac.com] > On Dec 22, 2009, at 12:59 AM, Walton Hoops wrote: > > Really? For what purpose? I can't think of any instance that you'd > > need to change a constant where a variable wouldn't suffice (but of > > course that doesn't mean it doesn't exist). > > I think Rails uses it to reload class definitions. That is to say that > a particular constant, such as ArticleController, will refer to > different class objects as the class definition changes. Ah, that does make sense. Thank you for the clarification.