Need help with a noob Rails question Mostrar mais
I have a variable that I want to check if it is not nil and that the length is equal to 11.
Currently I have this:
if video_id if video_id.length == 11 //actions endend
How can I make both verifications on a single if?
Sorry, for the noob question.
Porque é este passo necessário? masto.pt pode não ser a instância onde você está registado. Por isso, precisamos de o redirecionar para a sua instância de origem em primeiro lugar. Não tens uma conta? Tu podes aderir aqui
masto.pt