`inspect` for AR model classes does not initiate a new connection.
Merge pull request #11014 from senny/10936_inspect_does_not_crash_without_connection

`inspect` for AR model classes does not initiate a new connection.