I am deploying an application to several sub domains and need to set a
global variable in each sub domain so that I query the correct table
based on the sub domain. Currently I am doing this in my layouts but
this doesn’t seem like a good practice.
Does anyone know of a way to set this global variable when I deploy
using capistrano?