From: Qwe Qwe Date: 2008-04-19T20:57:58+09:00 Subject: if behavior Hi, i recently started to learn ruby as well as rails and came across a problem. such code: [code] if session[:login] 10/0 else 11/0 end if [/code] doesn't inform me about division by zero. Actually it seems that none of paths is evaluated. I don't get it. I've checked few tutorials, none of the said anything about possibility of such behavior. -- Posted via http://www.ruby-forum.com/.