Initializer


#1

Have an app that works fine in development but not production behind
pound that uses Geokit. I’ve figured out the API key is wrong. is
there a way to configure each mongrel with a different API key? if
there a variable i can check in the initializer and provide the right
API key for that port since it’s going to be based on the internal
address:port the connection is on?


#2

here’s an example of how the port number can be accessed

*http://pastie.org/169850

al
*
On Tue, Feb 3, 2009 at 1:26 PM, spokra removed_email_address@domain.invalid wrote:

Have an app that works fine in development but not production behind
pound that uses Geokit. I’ve figured out the API key is wrong. is
there a way to configure each mongrel with a different API key? if
there a variable i can check in the initializer and provide the right
API key for that port since it’s going to be based on the internal
address:port the connection is on?


Available for Ruby on Rails development opportunities