browser_details icon indicating copy to clipboard operation
browser_details copied to clipboard

production only?

Open chrishough opened this issue 12 years ago • 4 comments
trafficstars

Have you considered add a mode for this gem? something where we could only include it in production, but not development?

chrishough avatar Oct 27 '13 06:10 chrishough

What's the harm in including it in development logs?

gshutler avatar Oct 28 '13 09:10 gshutler

if you primarily work in a single browser, i.e. chrome you would be just cluttering up your logs. after noticing the clutter in mine, i figured it would not be a bad idea for future versions. thoughts?

chrishough avatar Oct 28 '13 10:10 chrishough

I'll take a look, I may not be able to get to it until the weekend though. I assume you're using Rails as nothing else configures it automatically?

In the meantime you could delete it from the middleware within your development configuration the long winded way.

gshutler avatar Oct 28 '13 10:10 gshutler

@gshutler yes, I am using rails 4. As of right now, I just pulled out the gem. I was going to fork it but I was not sure of your roadmap. No rush, it was just an enhancement request b.c I wanted to keep using it.

chrishough avatar Oct 30 '13 03:10 chrishough