/ Published in: Ruby

The code tests if session[:counter] exists. If you leave out the all important '?', it will fail with an error.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if session[:counter].nil? # code here end
Comments
