5

not と "?" を使用する必要性は何ですか。この場合のような場合に使用できる場合は一緒に

unless person.present?

と同等です

if person.present
4

2 に答える 2