Question: Given this Category model with an attribute for "name", what code would fill in the blank so that it sets saved_name to a string that is the category name that existed before the name was changed?
- category.name_was
- category.saved(:name)
- category.changes[:name]
- category.name_changed?
Answer: The correct answer of the above question is Option C:category.changes[:name]