Forum: Ruby on Rails A function call in a model?!?!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
95919438deb49d25297978655c746757?d=identicon&s=25 Phillip Medrano (teknovspec)
on 2007-02-08 00:39
class MyClass < ActiveRecord::Base

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

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

thanks in advance!
18d8b0c948dd7b3d39c9667cfd4e817c?d=identicon&s=25 Andrew Stone (astone)
on 2007-02-08 01:26
(Received via mailing list)
On 2/7/07, Phillip Medrano <> wrote:
> class of MyClass

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

Andrew Stone
This topic is locked and can not be replied to.