use self instead of #read_attribute
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]
Clear schema cache before each test
Merge pull request #16704 from ankit1910/use-existing-method

use self instead of #read_attribute