From: Robert Klemme Date: 2006-05-17T23:48:26+09:00 Subject: Re: Module, class and methods confusion 2006/5/17, Tim Hunter : > Patrick Spence wrote: > > > rescue Exception => ex > > #-- "undefined method" error gets thrown on this line! > > MHIQErrorLogger::ErrorLogger::PostError(ex, dbh) > > > > Just a guess, but should that be > > MHIQErrorLogger:ErrorLogger::PostError.new(ex, dbh) No, it's a method. The error is more likely here: module MHIQErrorLogger class ErrorLogger def PostError(ex,dbh) Should be def self.PostError(ex,dbh) Cheers robert -- Have a look: http://www.flickr.com/photos/fussel-foto/