jeudi 11 août 2016

I cant print with conditional if

i have problem with "If"

<%= print 'Hi American people' if @people.country == "Usa" %>

When i preview my app, i cant see the message "hi american people" the field is blank

Aucun commentaire:

Enregistrer un commentaire