Question: I have created my models fro sequelize. I've got a User model which attached as an Address object. The links are defined as such:

```
User.hasMany(Address);

Address.belongsTo(User);

```

The object I am trying to store has the right structure with the child attached:

```
{
      Username: "John",
      Email: "John@test.com",
      Address: [{
          street: "somestreet"
      }]
  };

```

When I try to create the object, the parent is inserted in my database, but the app exits with a [sequelize object] does not contain method .save()

I am creating as follows:

```
User.create(user).success(function(user){

});

```

I have got logging enabled on my sequelize instance and I can see the correct sql being generated for the parent object, but I am stuck on how to properly store the child (associated) object.

Answer: 
You can also use the `include` keyword like so: 

```
const user = {
  Username: "John",
  Email: "John@test.com",
  Address: [
    {
      street: "somestreet"
    }
  ]
}

User.create(user, {
    include: [models.address]
})
.then((createdUser) => {
   // ...
})

```

Where `models` is an object that holds all your Sequelize models and their associations.
Turns out the original comment by Wrikken was correct, I was passing in a sole object rather then an array.

This fixed it:

```
 {
      Username: "John",
      Email: "John@test.com",
      Address: [{
          street: "somestreet"
      }]
  };

```