ActsAsParanoid / acts_as_paranoid

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
MIT License
1.47k stars 192 forks source link

Log ActiveRecord activity to a visible log during tests #218

Closed mvz closed 3 years ago

mvz commented 3 years ago

This removes an old leftover hack that set the logger to an anonymous StringIO object (introduced to solve an issue on Ruby 1.8!). Instead, ActiveRecord logging is set up to log to log/test.log.