I have a semi unrelated question being a bit of a rails newbie. I notice all the Model functions being defined as self.function_name
I have seen this done both with self and without self and also with variables being defined both with and without self. What is the right way? They both seem to work.
Thanks for the reply and sorry for the slow response. That was great link.
Another great cast.
I have a semi unrelated question being a bit of a rails newbie. I notice all the Model functions being defined as self.function_name
I have seen this done both with self and without self and also with variables being defined both with and without self. What is the right way? They both seem to work.