sdepold/sequelize-doc — Issue #4: Mistake in docs
Author: Airs0urce
Created: 2011-12-06 20:15:03+00:00
State: open

Hello,

Thank you for the project.

See "sequelize-doc / views / index / code / find-objects / basics.ejs", lines 7 - 10:

```javascript
// search for attributes
Project.find({ where: {title: 'aProject'} }).on('succes', function(project) {
// project will be the first entry of the Projects table with the title 'aProject' || null
})
```

There is "on('succes',", but should be "on('success',"