Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: benmgreene
As some have noted,
yield(:title) || "Default"
no longer works in Rails 3. I recommend adding this method to a Helper:
def yield_or_default(section, default = "")
content_for?(section) ? yield(section) : default
and then calling
Thanks for the great work, Ryan.