active records

Discussion in 'Ruby' started by Einar Magnús Boson, Nov 17, 2008.

  1. Is there a way of listing available tables in a connected database?


    Einar Magn=FAs Boson
    +354-661 1649

     
    Einar Magnús Boson, Nov 17, 2008
    #1
    1. Advertisements

  2. Einar Magnús Boson

    Peter Szinek Guest

    ActiveRecord::Base.connection.tables

    HTH,
    Peter
    ___
    http://www.rubyrailways.com
    http://scrubyt.org

    On 2008.11.17., at 20:27, Einar Magn=FAs Boson wrote:

    > Is there a way of listing available tables in a connected database?
    >
    >
    > Einar Magn=FAs Boson
    > +354-661 1649
    >
    >
    >
    >
     
    Peter Szinek, Nov 17, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rico Alexander
    Replies:
    1
    Views:
    815
    William Ryan
    Oct 14, 2003
  2. Stephen

    Error while Updating records

    Stephen, Nov 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    501
    Stephen
    Nov 22, 2004
  3. Salvatore Callea

    array of records

    Salvatore Callea, Apr 13, 2004, in forum: VHDL
    Replies:
    3
    Views:
    8,734
    Egbert Molenkamp
    Apr 13, 2004
  4. Luke Airig
    Replies:
    0
    Views:
    1,017
    Luke Airig
    Dec 31, 2003
  5. carlos seramos
    Replies:
    2
    Views:
    741
    carlos seramos
    Aug 1, 2003
  6. Dan

    Delete records or update records

    Dan, May 10, 2004, in forum: ASP General
    Replies:
    1
    Views:
    683
    Ray at
    May 10, 2004
  7. Replies:
    3
    Views:
    945
    Anthony Jones
    Nov 2, 2006
  8. Marc Hoeppner
    Replies:
    2
    Views:
    186
    Mark Thomas
    Sep 10, 2008
Loading...