Ahh... i tried duplicating the: module ClassMethods end ... wrapping, but that didn't seem to work. I'll try these, thanks.
n8 James Adam wrote: > Nathan - > > The User#authenticate method you're defining there is an instance > method, rather than a class method. If you want to define it as a > class method, you need to either use > > def self.authenticate(....); .....; end > > or wrap the method definition in > > class << self > def authenticate(...); .....; end > end > > - james > > On 3/20/06, Nathan Mahon <[EMAIL PROTECTED]> wrote: >> def authenticate(login, pass) >> return nil unless pass == "blue" >> >> > def fullname >> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org >> > > > -- > * J * > ~ -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
