don't use nested hash accessors when you can't be sure that the keys will be present. only_if won't protect you from harm