New Ruby on Rails Application Wizard: Database Configuration

In this panel, you can specify how the application connects with a database. The IDE uses this information to write the configurations in the database.yml file. If you click Next or Finish without making any changes, the database.yml file is configured to use the MySQL database and will not use a JDBC connection. The IDE also derives the development, test, and production database names from the project name.

This is the third panel of the New Project wizard for a Ruby on Rails project. To open the wizard, choose Files > New Project, then select Ruby in the Category list and Ruby on Rails Application in the Projects list and click Next twice.

Database Access Information

Select Configure Using IDE Connections to use a database that you have already registered with the IDE or to register a connection. Otherwise, select Specify Database Information Directly. The IDE uses this information to update the configuration in the database.yml file.

Access the Database Using JDBC

Select this option to allow the IDE to configure Rails to use JDBC drivers when accessing the database. When you use JDBC to access the database, the IDE automatically creates references to the driver JAR file or files of the selected JDBC connections.

See Also

Working With NetBeans Ruby
New Ruby on Rails Application Wizard: Name and Location

Legal Notices