Hello,
I would like to use something like
domain=request.domain
and be able to access the domain variable across all my controllers.
What is the best way to do so? In which file can I put the above
variable declaration and still be able to access it application wide?
I guess I am asking on assistance for using global variables in rails.
Can anyone please guide me to a source or help me figure this out.
Thanks
Frank