Hi!
I have something in my application which should be shown only if I am in development environment.
Is there a command or a global variable to determine the current environment of the application?
Greetings from Germany, Klaus
Hi!
I have something in my application which should be shown only if I am in development environment.
Is there a command or a global variable to determine the current environment of the application?
Greetings from Germany, Klaus
You can use if Rails.env.development?
Colin
Thank you!