vendredi 24 avril 2015

Ruby how to test 2 dimension array element non blank

I am trying to test if the 2 dimension array element is non empty. the below code is failing

 <% if !subject["#{prefix}-addrline1"][index].empty ? %>

Thanks for your help!!

Aucun commentaire:

Enregistrer un commentaire