13 ms·
Two benefits I see (esp. w/ rails) 1) Quick console start. As rails developers, we spend way too much time waiting for consoles to start. This could save at
by techscruggs 15y ago
Two benefits I see (esp. w/ rails)
1) Quick console start. As rails developers, we spend way too much time waiting for consoles to start. This could save at least an hour out of my month.
2) Dynamically change production logging level. While their are ways to send signals to your process to control the logging level, this seems far more natural. You could easily open up an existing process change the logging level; finish your work; change it back.
Any other ideas for where the would be useful?
- ileitch 15y agoCan be used to diagnose memory bloat issues by inspecting ObjectSpace.
- irahul 15y ago> 1) Quick console start. As rails developers, we spend way too much time waiting for consoles to start. This could save at least an hour out of my month. Won't a better idea be to leave the console running?
- Robin_Message 15y agoAnd then use reload!
- techscruggs 15y agowhat about those classes not in your autoload path?
- techscruggs 15y agoWhat about production consoles? And even with reload, what about those classes not in your autoload path?