:true not workin!

before reinstallin ubuntu..
while checking condition for enum column i used :ture if it was ('true',
'false')
but as my system got formated..i installed ruby 1.8.6 and rails 1.1.6
newly
but now where all i user :true in condition its not workin..:0(
can anyone help me please..

i have used like this
       if isa_registration.user_access!= :true
          status= "<font color= 'green'> Rejected</font>"
        else
          status= "<font color= 'blue'> Expired</font>"
        end

but its not workin..
help me please m tired solving this

···

--
Posted via http://www.ruby-forum.com/.

Sukeerthi Adiga schrieb:

    if isa_registration.user_access!= :true
          status= "<font color= 'green'> Rejected</font>"
        else
          status= "<font color= 'blue'> Expired</font>"
        end

i think the colon is the Problem:
if isa_registration.user_access!= true
  status= "<font color= 'green'> Rejected</font>"
else
  status= "<font color= 'blue'> Expired</font>"
end