: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= " Rejected"
else
status= " Expired"
end

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sukeerthi A. 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= “ Rejected”
else
status= “ Expired”
end
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHxXeDW5GYaw3DxvwRAgGeAKDi/2ajPI/dO3UypmFV8ljsMRF1hACgwOYA
gsLKh+ycPDGTwsbD9lVO0DI=
=qYir
-----END PGP SIGNATURE-----