Linking Models Together
I have the following three tables in a database:

    Products
    ********
    id
    title
    artist_id

    Artists
    *******
    id
    profile
    rating
    person_id

    People
    ******
    id
    first_name
    last_name

Each artist can have many products.

Each artist has only one person.

Each product has only one artist.

What are the correct associations to set up between the models for these three tables?
Linking Models Together
===

I have the following three tables in a database:

    Products
    ********
    id
    title
    artist_id

    Artists
    *******
    id
    profile
    rating
    person_id

    People
    ******
    id
    first_name
    last_name

Each artist can have many products.

Each artist has only one person.

Each product has only one artist.

What are the correct associations to set up between the models for these three tables?