Right now I\'m using this which works for the development host, but I have to manually change the {:host => \"\"} code when I move to production.
You have to restart your server before the changes to this file takes effect.