How can I setup the automatic cleanup on test.log and development.log in ruby on rails?
Is there a setting to automatically delete dev and test logs on server start and tests run?
rake log:clear is a rake task that truncates all files that match log/*.log to zero bytes. You could call it in your server start and run tests tasks.
rake log:clear
log/*.log