Over at railscasts.com Ryan Bates has created an excellent cast on how to configure rails 3 to support subdomains. I had a five minute play with this and was very impressed.
So in order to hold onto my efforts for posterity here is the app (a small blog like demo) which demonstrates subdomains in full. Source code: tryout