/ 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
if session[:counter].nil? # code here end
You need to login to post a comment.
