Switching Google Maps API Key from Deplyoment to Production

Hi there everyone,

I have a rails app that used Google Maps in some of the views. In order
to use it I have to include the following code at the top of my view:

However, I have two separate keys - one for production and one for
development. What is the best way to organize them so that when I use
Capistrano to upload my app and run it in production mode the correct
API key gets loaded?

Thanks,

Stephen