2020-05-17 【rails】yield resource if block_given? yield resource if block_given?はresourceがブロックで渡されていればと言うこと??