Okay, so in a sotmry night, Homer is telling the kids (who are all sleeping in Bart's bed for some reason) when a pigeon crashes in. Bart has to take care of it (named Ray), cause Lisa i disgusted by pigeons. Bart quickly bonds with Ray (thorugh a montage) and then, after Moe fails to scam Homer and Bart, Santa's Little Helper eats it. So Bart is devastated cause he loved Ray (more than the dog he owned for like 22 years) and the dog fails to understand what's going on as he continues to kill stuff for Bart. Then, the family goes to a physchiatrist, who tells Marge that the best way to heal Bart is to get rid of SLH. So going to an ostrich farm to give away the dog. There, Homer is talking on his cell when an ostrich bothers him, and after he opens the door, he escapes. Then, the ostrich attacks Bart. He tells SLH to kill the bird, but that ocntradicts what he previously said, so Bart strangles it till it faints.
Then Bart learns that sometimes it's ok to kill birds (ok...), and they take the ostrich for dinner. Then is wakes up, and chockes Homer, ending the episode.
Overall: It was a pretty good episode, with a WTF lesson but a hilarouos ending and some good gags, so 8.5/10.