Forum: Ruby on Rails How to check AR connection is established?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af3cecc8af253b5acd3c09c5b67c0074?d=identicon&s=25 Valentino Lun (on9west)
on 2009-02-06 11:07
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
This topic is locked and can not be replied to.