You are an internet savvy Starter. So, I hope you’re paying attention to your users somehow! Well, there’s gonna come a time when you’ll need to do some analytic gathering yourself. Rails environment variables can come in handy then.
I’ve writtenquite a few Ruby on Rails tutorials so far. I hope this Rails tutorial also helps you reach your destination.
Using Rails Request.env
Here’s an example of using the Rails request.env object:
Rails Request.env List
Request.env is a Rails object that contains information on your visitor’s environment (e.g. browser, referrer) and information on your server’s environment. The request.env object is a key/value pair Ruby array. Here is the list of the environment variables you have access to:
Good Luck Beloved! Have Fun!
discuss on twitter
every day thousands of developers use our charts & gauges to get the job done right