Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: upandnet
Regarding the difference between
@Mine = Mine
seems to be local only, that is, that the implicit declaration will not expose Mine in the local scope, which might be a pitfall
Great value as usual, just one question Ryan.
Do you dislike find_or_create (which I could understand BTW) or
maybe think that exists? ... || create! has other merits (like the bangs exception raising behavior).
exists? ... || create!