Ruby Sparks is a 2012 American romantic fantasy comedy-drama film written by Zoe Kazan and directed by Valerie Faris and Jonathan Dayton. It stars Paul Dano as an anxious novelist whose fictional character, Ruby Sparks, played by Kazan, comes to life, and his struggles to reconcile his idealized vision of her with her increasing independence. The score was composed by Nick Urata of the band DeVotchKa.