From: Bob Hutchison Date: 2007-12-17T21:58:21+09:00 Subject: Re: [ANN] Utility Belt 1.0.6 - Rails bug workaround Hi, On 17-Dec-07, at 1:52 AM, Xavier Noria wrote: > On Dec 17, 2007, at 6:35 AM, Giles Bowkett wrote: > >> (To clarify, this release of Utility Belt doesn't *trigger* the bug >> in >> Rails any more, but the bug in Rails still exists. Hoping to find a >> fix soon.) > > Hi Giles, I put > > CONSTANT_FROM_IRBRC = 7 > > in ~/.irbrc, and the constant is visible from the console but not > from a controller in a regular request. > > Can you show a minimal way to get ~/.irbrc accidentally loaded by an > applicaction? I'm not seeing this problem either. I'm using Rails 2.0.1 and dozens of gems. I've used ack to scan all (I think) of the code and the only occurrences of 'irb' are related to consoles and breakpoints. I've put some code in my .irbrc file and that is not being run from inside rails. Are you sure Rails is the culprit here? Cheers, Bob > > > -- fxn > > PS: I reply here because comments are closed in the blog. > > ---- Bob Hutchison -- tumblelog at http://www.recursive.ca/so/ Recursive Design Inc. -- weblog at http://www.recursive.ca/hutch http://www.recursive.ca/ -- works on http://www.raconteur.info/cms-for-static-content/home/