Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jai Ivarsson's Profile

GitHub User: jaijaz

Site: www.jaijaz.co.nz

Comments by Jai Ivarsson

Avatar

Thanks for the reply and sorry for the slow response. That was great link.

Avatar

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.