Hey All, very simple question for you folks
I have a @commutes object that for each record there is a bit value set
(0/1) to denote if an accident occurred. What I want to do is have it
display “Yes” or “No” when I view the listing of commutes. I can get it
display the bit value just fine with <%= commute.accident %> but how can
get it so that when a record with a 0 comes up that it displays “No” and
a 1 “Yes”? Thanks in advance!