I remember watching this movie about five to ten years ago. The main characters are two friends (one female, one male). I think they live very close to each other or even in the same building. The male I believe is an editor, but really he writes these romance books under a pseudonym. His publisher even has an old woman be the visual face and person of the novels. The female friend eventually finds out and helps him write his own book instead of just ghost writing these other ones. I think they end up together int he end.