-
What is the difference between new and create for a model? Create automatically saves the model while new does not.
-
What command combined with new will emulate the same behavior as create? save
-
What is the column that exists on every table but we did NOT define? timestamp
-
What single line of ruby code can insert a cat with the name "hat" in the database? c = Cat.create name:hat
-
What was the most confusing part over the last few weeks? Probably connecting the views and model and how everything works together.
-
How did you like this homework in comparison with the others? I like this hw a lot more since it was more structured and I understand things better.