Ruby is a demon on The CW's Supernatural, portrayed mainly by actresses Katie Cassidy and Genevieve Cortese. Created by the writers to expand on the characterization of demons within the series, she first appears in the third season, wherein she assists series protagonists Sam and Dean Winchester in fighting her fellow demons. By the fourth season, she has won Sam's trust and begins training him to kill demons with his psychic powers, though Dean remains fearful of ulterior motives. The character is killed at the end of the fourth season. In the fifteenth season, Ruby returns through flashbacks and a visit to the Empty, the angels' and demons' afterlife.

Though the fans at first reacted negatively towards Cortese replacing Cassidy after the third season, Cortese and creator Eric Kripke felt that they became more accepting as the fourth season progressed. While fan response to the character was mixed overall, critical reception was generally negative. A common criticism was underwhelming performances by Cassidy and Cortese.

Plot Debuting in the third season premiere "The Magnificent Seven", Ruby (Katie Cassidy) trails Sam Winchester—a hunter of supernatural creatures—and eventually rescues him from a group of demons, whom she kills with her unique demon-killing knife. She reveals her identity to Sam in "The Kids Are Alright", but claims to be different from other demons and wants to help Sam fight them. In return for his cooperation, she promises to save his brother Dean from the Faustian deal he had made to resurrect Sam in the second season finale "All Hell Breaks Loose: Part 2". However, she refuses to tell Sam her motives. Though he distrusts her and Dean wants to kill her before she can harm them, Sam decides to let her continue to help him with both saving Dean and fighting the hundreds of other demons who—like Ruby—escaped Hell in the second-season finale.

Ruby's credibility builds throughout Season 3. In "Sin City", she restores power to the Colt for the Winchesters to use in their war against demons. The episode "Malleus Maleficarum" provides her backstory, revealing that she had been a witch during the Plague who sold her soul to a demon. She confides in Dean that, unlike other demons, she still remembers what it is like to be human, citing this trait as the reason she is helping the brothers against other demons. She returns in "Jus in Bello" to save the brothers from an attacking horde of demons. Upon learning that they have lost the Colt, she decides to perform a spell that will destroy all the demons in the area, including herself. However, because the spell requires a human virgin's heart, Dean does not allow her to perform it. Although the plan he comes up with instead saves himself and his brother, the people they leave behind get killed by demons pursuing Sam and Dean, which Ruby uses to rebuke the brothers for not listening to her.

Contrary to her promise to Sam, Ruby tells Dean that she cannot actually save him from Hell and that she had lied to Sam to get him to listen to her. However, in the season finale "No Rest for the Wicked", she tells Sam that she had lied to Dean and that she truly can help Sam save him. Her plan is to train Sam to harness his latent demonic abilities so that he can use them to kill Lilith, the demon who holds the contract for Dean's soul. Believing that Ruby is trying to manipulate Sam into giving in to his dark side, Dean tricks her into a devil's trap—a mystical symbol capable of rendering demons powerless—and leaves with Sam to face Lilith. Ruby frees herself and tracks the brothers down during their campaign, but gets expelled from her host body by Lilith and thus is not present at the confrontation between Lilith and the brothers, with her whereabouts at the time unclear. The fourth season episode "I Know What You Did Last Summer" states that she had been sent back to Hell. Eventually, Ruby returns and offers Sam her help in taking revenge on Lilith for Dean's death in "No Rest for the Wicked" as well as in stopping Lilith's apocalyptic plans. To appease Sam, who dislikes her using a living host against the host's will, Ruby takes possession of a body recently declared to be dead (Genevieve Cortese). They have sex together at least once, and she brings him out of his downward spiral towards self-destruction. Consequently, Sam now trusts Ruby implicitly.

Ruby begins training Sam in using his demonic abilities to exorcise (and later, kill) demons, and continues to do so in secret following Dean's resurrection by the angel Castiel in the fourth season premiere. The episode "On the Head of a Pin" reveals that she is feeding Sam her demonic blood to boost his powers, and by "The Rapture", he has become addicted to drinking her blood. In the following episode "When the Levee Breaks", Sam and Dean have a heated confrontation over Sam's trust in her and the negative influence she has on him, leading to a vicious fight which ends in Sam strangling Dean and Dean severing ties with Sam. In the season finale "Lucifer Rising", Ruby insists that she and Sam must murder a demonically possessed woman despite the woman being alive and pleading for them to let her go, as Ruby argues that Sam needs to also drink the woman's blood in order to be able to kill Lilith; Sam eventually agrees. In the episode's climax, Ruby keeps Dean from interfering while Sam succeeds in killing Lilith. Afterward, Ruby reveals that she is a double-agent working for Lilith who has just tricked Sam into setting the demons' revered god Lucifer free with Lilith's death. With Sam's help, she is killed by Dean with her own knife.

In season 15's "Destiny's Child," the Winchesters learn from the angel Anael that she and Ruby occasionally worked together when they had common interests and Anael gave Ruby the Occultum, supposedly to sell it for a lot of money. Anael claims that Ruby hid it in Hell and was killed before she could sell it off, but this proves to be a trap as Anael hires demons to kill Sam and Dean. Needing the Occultum to continue with their plan to kill God, Castiel has Jack send him into the Empty so he can ask Ruby herself where to find it. The Shadow, the being that rules the realm, reluctantly allows Castiel to talk to Ruby who takes on the form she had when she died. Ruby reveals that, in reality, Anael approached her with the suggestion that they hide in the Occultum until the Apocalypse was over. Ruby never told the angel where she hid the Occultum, but offers Castiel the location in exchange for his help in getting out of the Empty since that would effectively resurrect Ruby. Sympathetic with Ruby due to his own time in the realm, Castiel agrees to at least try, which the demon accepts. Ruby whispers the Occultum's location in Castiel's ear before disappearing. However, Ruby fails to mention the hellhounds she left to guard the Occultum, causing Dean to think Ruby was trying to kill them like Anael did before they decipher Ruby's clues and locate the artifact.

Characterization Prior to Ruby's introduction in the third season, series creator Eric Kripke summarized the character as "ruthless and a little crazy and rough around the edges", calling her "[a] little unhinged" because she lacks the "moral conscience" that Sam and Dean have. Katie Cassidy, the actress who portrayed Ruby in the third season, described her as a "kick-ass, bad-ass" ally of Sam and Dean's who "also likes to stir up a little trouble." According to Cassidy, Ruby is "mysterious", "manipulative", and in control of her situation, being "always 10 steps ahead of everybody else". On this, Cassidy proclaimed that Ruby "knows what she wants, and she's out to get it". Actress Genevieve Cortese, who played the character in the fourth season, deemed Cassidy's incarnation "very tough" and "hard to get close to".Issue 9, From Hell, by Bryan Cairns, p.42

In taking over the role, Cortese felt "conflicted over where Ruby is now versus where she's come from" and explained that her own portrayal of the character was a "total 180 from [how she was] last season", being calmer and "more fear-driven"; after a discussion with Kripke on the character's mindset, Cortese saw Ruby as being in a "lonely, desperate" situation. She tried to make Ruby seem "as innocent as possible" to make viewers question her true allegiance,Knight 4, p.136 and to "bring more of a humanity" to Ruby than Cassidy had.Issue 9, From Hell, Bryan Cairns, p.43 For example, taking from the third-season finale in which Dean is sent to Hell, Cortese portrayed the character as having some guilt over his death, even though Ruby was not responsible for it. The actress also acknowledged that Ruby was likely manipulating Sam when she claimed to remember how it felt to be human, but suggested that there was also an element of truth to her character's words.

Cortese believed that Ruby fell in love with Sam over the course of the season, though she questioned whether this was "true love" or her being "in love with what he can do". As Cortese noted, "He has something she can nurture. It's almost like a mother bear and her cub [in terms of] how protective she is... Sam's all [Ruby has], so it's almost like giving birth, in a weird, messed-up way." She stated that the sex scene between her character and Sam was "about two people who are so broken and sad" and compared it to similar sex scenes from the film Monster's Ball. Although Ruby eventually reveals herself as a traitor, Kripke wrote her final scene with the intention of depicting Ruby as "the opposite of evil" and to show that Ruby does care about Sam, despite her manipulation of him to free Lucifer; Kripke explained that, in Ruby's mind, she had to lead Sam down that path because "it was for his own good".

Development Ruby was described as a "demon hunter" in press releases prior to her debut so that her true demonic nature would surprise the audience. The writers created Ruby to change the perception of demons into more of a grey area, rather than the prevalent belief of "black and white", "They're evil, we're good" approach previously used in the series. However, the writers also planned for Ruby to impact the brothers negatively by facilitating the story arc of Sam falling into evil—which had been set up in the second season, but without follow-through—and causing a fracture in their relationship. Knowing this, the writers were amused by fans questioning why they were "trying to make [Ruby] likable". Despite Ruby's overall betrayal of the brothers, writer Sera Gamble commented, "[Ruby] brought the idea that you can't just dismiss demons as things that need to be killed right away. They could be useful, and while fundamentally untrustworthy, there might be cause to trust them in a given situation."

Fearing that introducing the character as an "[accessory] to the boys" would hinder their chances of successfully integrating her into the series, the writers intended that Ruby should be "a character in [her] own right" and deemed her an antagonist "with [her] own interests and [her] own motives" rather than a love interest to Sam or Dean, which they felt had been their mistake in their introduction of the widely disliked Jo Harvelle in the second season. While they were not planning on a romance between Ruby and either of the Winchesters in the third season, however, they were open to the possibility in the future, with Kripke saying, "If the chemistry is there, and we see the sparks, and we want it to happen, and the fans want it to happen, it'll happen." Due to "protective and occasionally nervous" fans, Kripke meant to introduce Ruby in "small doses". Wanting fans to know the show would always be about Sam and Dean, and nothing else, he stated, "[Ruby and Bela are] there for important plot elements, but it's not the Ruby and Bela show, nor is it about the four of them cruising around in the Impala together. It's about the guys."