06.
Cleaning up with save_pets
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
5 Comments
Couldn't you just check if the record already exists? If the user is editing their profile info they might not want to get redirected, maybe they want to stay on the profile page and verify that their info was all correct and actually saved to boot?
Hey hi!
The challenge for this video seems broken! Even i copy paste the answer, i got an error, can you check please :)
Hey Gilles,
I just double checked this one and can say it works for me, I just copied/pasted code from the answer and press Check. Probably something went wrong with this challenge for you, please, try again, but now the image should be rebuilt so you're able to start from scratch.
Cheers!
It works! Thank you very much :)
Excellent! I small hint, if something went wrong, you can wait a few minutes until the challenge is shutdown automatically due to inactivity (You will see a yellow message above the page), and then just refresh your page with Ctrl + R and try again - this time you will have a new rebuilt image.
Cheers!
"Houston: no signs of life"
Start the conversation!