joshlin/todolistapp — pull request #1 by burtlo (2011-12-08 08:05:04+00:00)
Title: Some suggestions.

This is awesome work. This app is powerful and elegant.

This pull request are some minor suggestions for your application:

* The most important is to make it easier to run your application with the Rakefile.

* The others are verifying that you are getting back an object, similar to how you are doing that in the templates, before you operate on it.

```
if item = Item.get param[:id]
#work on the item if it was found
end
```

* `create` and `update` are great Datamapper methods that allow to create objects in a single call.