Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

If that does what it looks like, then Optional is better than that in one respect: begin/rescue will catch all NoMethodErrors, including unrelated ones. But you probably do want an error to be thrown if you typo and write "project.creator.adress" by mistake.


view as:

Legal | privacy