Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

HakonB's Profile

GitHub User: hab

Comments by HakonB


The contents of the from_email method is short-hand for

def self.from_email(email)

Ryan uses implicit parentheses and the fact that you can call other class-level methods without a prefix in a class-level method.