DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

YM4R Configuration With Multiple Domains

  • submit to reddit
        Need to put domains in config/gmaps_api_key.yml
production: longapikeythatmakesnosense jsdkfljskfljsgklsjgkl

When printing out the header information you need to pass the param :host. should do the job. 
<%= GMap.header(:host => %>