This page explains how to browse a database in RadRails.
Introduction
Once you set up a database in your Rails project, you can use the RadRails Data Perspective to browse your database.
Instructions
To browse your database in RadRails:
- Set up your database:
- In the Rails Navigator View, go to your project and expand the config folder.
- Open the database.yml file in your Editor.
- Follow the instructions in the comments section of the database.yml file to set up your database and save your changes to the file.
- Browse your database in the Data Perspective
- Click the to switch to the Data Perspective.
- Click the Data Navigator View tab and expand your project folder.
- Double-click your database in the Data Navigator to create a database connection.
RadRails will display the database tables in the Data Navigator. You can expand a table to display its columns, and you can also double-click a table to perform a "Select *" query on that table. The Results View will display the results for that query.
Related Topics