:!= needs to be :"!=" to work in Ruby 1.8