coffeescript syntax in model.coffee