From c8a5ce892aec216db9aa8e09ce35e487c19acaa0 Mon Sep 17 00:00:00 2001 From: mde Date: Mon, 19 Nov 2012 16:14:11 -0800 Subject: [PATCH] Should be updateProperties --- examples/todo_app/app/controllers/todos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/todo_app/app/controllers/todos.js b/examples/todo_app/app/controllers/todos.js index b36478df..9d119a8a 100644 --- a/examples/todo_app/app/controllers/todos.js +++ b/examples/todo_app/app/controllers/todos.js @@ -47,7 +47,7 @@ var Todos = function () { this.update = function (req, resp, params) { var self = this; geddy.model.Todo.first(params.id, function (err, todo) { - todo.updateAttributes(params); + todo.updateProperties(params); todo.save(function (err, data) { if (err) {