Fix for configuring rails guide

`ActiveSupport::Logger` has no concept like auto flushing since it has no userspace buffering.
It's a remnant of `ActiveSupport::BufferedLogger` epoch which was since removed from rails.
Merge pull request #16763 from brainopia/patch-1

Fix for configuring rails guide [ci skip]