ga-wdi-boston / rails-api-one-to-many

Other
0 stars 92 forks source link

Consultant Notice: Cover migrations as part of this talk #13

Open jrhorn424 opened 7 years ago

jrhorn424 commented 7 years ago

This will be the first time developers create migrations.

This talk should be preceded by rails-migrations-study.

raq929 commented 7 years ago

I'm wondering why we cover migrating the authors to a separate table. If you planned correctly, it's not something you would have to do. Rather, I get why we're doing it, but I think it should be de-emphasized maybe?

gaand commented 7 years ago

Because even if you planned correctly you don't want to build everything at once and you might want the API endpoint to create the correct JSON from the beginning (in case you never get to refactor).