From: zdennis Date: 2006-04-08T02:47:02+09:00 Subject: Re: Simple Question About Deleting Instances Nathan Olberding wrote: > Nathan Olberding wrote: >> ... this is going to take a while to debug. Does anyone have any idea >> why using only class variables would work but instance variables >> wouldn't? I suspect tainting, but how is any of this tainted? > > Now I just feel like I'm spamming the forum with my newbieness... > > For some reason, having methods for accessors (def fileName;return > @fileName;end) works on the command line but not through a browser. > Using attr_accessor instead, it works. The ruby-esque way to write methods is lowercase with underscores separating words: def file_name; end Scratch the lowerCamelCase and save the UpperCamelCase for class and module definitions. Zach