Not aimed at exactly this use case but the first two thirds of my book Reliably Deploying Rails Applications https://leanpub.com/deploying_rails_applications is heavily chef focussed.
It's intended for use with Chef Solo but potentially the early sections on writing custom chef cookbooks may be of use.