PGconn.connect .... where is disconnect?

I may have a large group of (Devise) users each of whom is a separate Postgres user, e.g. SomePostgresRole01, SomePostgresRole02, etc.

I can successfully do:
conn = PGconn.connect(“localhost”, 5432,"","",“db_development”,“SomePostgresRole01”,“SomePassword”)

I cannot find a conn.disconnect method. Does such functionality exist?

Have you tried conn.finish()?

http://www.rubydoc.info/gems/pg/0.11.0/PGconn:finish