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?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to