Rails development log not updating
What is the best way to delete the log file after certain size or delete the portion before certain day.
The best way is to set up log rotation, but how you do this is very platform dependent, so you should add a comment about what you're using, both for development and production.
This course explores each part of the framework, best practices, and real-world development techniques.
A Rails app can have awesome unit and functional tests, and then in production, something goes wrong and the right error handling does not happen, making a bad situation worse.