Browsing Your Database


First, you'll need to set up your database configuration in the database.yml file. Enter in the appropriate information and save the configuration.


Figure 1.1

Next, switch to the Data perspective. Select your project in the Data Navigator and expand the tree. Double-click on the database you want to browse, and a connection will be established. Expand the database tree and the tables in the database will appear. Each table can also be expanded to show its columns. Double-clicking on a table will perform a select * from table_name query, and the results will be shown in a Result window.


Figure 1.2


Copyright © 2005 RadRails.org
All rights reserved.