I want to show a simple alert of the boolean value of the method nil in ruby rails within javascript. I am trying with the next sentence
alert("<% ''.nil? %>")
But I get a blank dialog box.
Could you help me?
Aucun commentaire:
Enregistrer un commentaire