Question: what does it mean when someone is by the book?
Answer: In accordance with rules or regulations. If you're looking for someone to approve an exception, don't go to Ted—he does everything by the book.