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. Advertising

  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. Advertising

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. Luke Airig
    Replies:
    0
    Views:
    796
    Luke Airig
    Dec 31, 2003
  2. carlos seramos
    Replies:
    2
    Views:
    489
    carlos seramos
    Aug 1, 2003
  3. Dan

    Delete records or update records

    Dan, May 10, 2004, in forum: ASP General
    Replies:
    1
    Views:
    467
    Ray at
    May 10, 2004
  4. Replies:
    3
    Views:
    666
    Anthony Jones
    Nov 2, 2006
  5. Marc Hoeppner
    Replies:
    2
    Views:
    118
    Mark Thomas
    Sep 10, 2008
Loading...

Share This Page