Forum: Ruby active records

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.
87349a7a95b3f2e83c20194ef122885c?d=identicon&s=25 Einar Magnús Boson (Guest)
on 2008-11-17 20:31
(Received via mailing list)
Is there a way of listing available tables in a connected database?


Einar Magnús Boson
+354-661 1649
einarmagnus@tistron.se
einar.boson@gmail.com
F50f5d582d76f98686da34917531fe56?d=identicon&s=25 Peter Szinek (Guest)
on 2008-11-17 20:45
(Received via mailing list)
ActiveRecord::Base.connection.tables

HTH,
Peter
___
http://www.rubyrailways.com
http://scrubyt.org
This topic is locked and can not be replied to.