Displaying 1 result from an estimated 1 matches for "9560b51a".
Did you mean:
956051
2006 Feb 08
2
Best way to know the domain across all controllers?
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