# How to check AR connection is established?

**URL:** <https://www.ruby-forum.com/t/how-to-check-ar-connection-is-established/159610>\
**Category:** Rails\
**Created:** [February 6, 2009, 11:07am UTC](https://www.ruby-forum.com/t/how-to-check-ar-connection-is-established/159610 "2009-02-06T11:07:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [February 6, 2009, 11:07am UTC](https://www.ruby-forum.com/t/how-to-check-ar-connection-is-established/159610/1 "2009-02-06T11:07:08Z")

</div>

I use the following method to remove the AR connection.

MyClass.remove\_connection

However, I use connected? to check, it return true…

MyClass.connected?  
=\> true

Am I used the wrong method? Please advise

Thank you.  
Valentino
