Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 430 Bytes

File metadata and controls

11 lines (6 loc) · 430 Bytes

Questions

  1. What is the difference between new and create for a model?

  2. What command followed after with Cat.new will emulate the same behavior as Cat.create?

  3. What is the default integer column that exists on every table but we did NOT define?

  4. What single line of ruby code can insert a cat with the name "Kira" in the database?

  5. How did you like this homework in comparison with the previous homeworks?