restored models.rb for travis.