From: Kris Date: 2006-04-11T00:29:41+09:00 Subject: Re: Adding in class attribute with a Module > If it ever is, I think it needs a new name. It's a wrapper for class > variables, but class variables, in my view, are not really suitable > for implementing "attributes"... I am using the as attributes, but a class variable would be better. And if they where var's you could add getter/setter methods to make them look like attributes. Inside a model: self.created_by = System.current_user.id self.save It would be better if I could get rid of the System bit and just do: self.created_by = current_user.id -- Posted via http://www.ruby-forum.com/.