A function call in a model?!?!

class MyClass < ActiveRecord::Base

def self.method_name(var1, var2, var3)
    Messenger::some_other_method_name(var1, var2, var3)
end


what is the Messenger::.... line doing? Is Messenger some child

class of MyClass

thanks in advance!

On 2/7/07, Phillip M. [email protected] wrote:

class of MyClass

Messenger would be referencing a class. some_other_method_name would be
a
class method.


Andrew S.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs