In Rails Models, I've seen what I'm assuming are called class methods defined either by
def methodName #do something end
and
def self.methodName #do something end
I can't seem to find anywhere that gives a description of the differences between these two, and when you should use one vs the other.
Also not sure if this is specific to Ruby, Rails or other languages as well. Thanks