On Feb 17, 2010, at 13:17 , Rob Kaufman wrote: > Since your using a class method you need to use a class variable to > store the value: > > @model_name_cache needs to be @@model_name_cache
No, that wasn't it. I could see the second time around that I had the class in there; it's just that the class wasn't working properly. I suspect that the class reloading behavior in design mode was getting interrupted by my holding onto a reference to the class. Regards, Guyren G Howe Relevant Logic LLC guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178 Ruby/Rails, REALbasic, PHP programming PostgreSQL, MySQL database design and consulting Technical writing and training Read my book, Real OOP with REALbasic: <http://relevantlogic.com/oop-book/about-the-oop-book.php> -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
