&.
nil
示例:
# 不良做法 if user && user.profile && user.profile.thumbnails end
# 优良做法 if user&.profile&.thumbnails end