Is it possible to access Rails.env somehow directly through javascript/jQuery?
I could put something in the DOM and then read it, but that seems a bit hackish. Specifically, I'd like to be able to make a conditional statement in the javascript based on whether the environment is testing, development, staging, or production.