This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 120389

Summary: Automatically Configure Rails Databases
Product: ruby Reporter: jtanium <jtanium>
Component: RailsAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: blocker CC: abadea
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jtanium 2007-10-29 18:00:59 UTC
Netbeans should automatically configure the databases I've configured in my config/database.yml.  I just upgraded from
6.0beta1 to 6.0beta2, and have to set them up again.
Comment 1 Torbjorn Norbye 2007-10-29 18:24:42 UTC
By "configure" do you mean the settings in the Services tab?

Beta1 to beta2 changed user directories where this stuff is stored.  I believe between final releases (5.5.1 to 6.0 and
so on) user settings are migrated. This probably isn't done from milestone to milestone.

Reassigning to the db category which owns these settings.  (Unfortunately, in NB6.0 there's no connection between Rails
database.yml stuff and the database connector. We'll hopefully improve this quite a bit in 7.0.)
Comment 2 jtanium 2007-10-29 19:36:39 UTC
Yes, I'm referring to the settings in the Services tab.

I find it a interesting there's no connection between the db settings and the projects...  I would have thought the
database settings would have been stored in the project...

Thanks.
Comment 3 Andrei Badea 2007-10-30 11:03:43 UTC
Not clear what the database support needs to do here. It rather seems the Ruby support needs to register database
connections according to config/database.yml.

http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-db/overview-summary.html

might be of interest.
Comment 4 Martin Krauskopf 2008-02-25 19:52:03 UTC
Erno already did some work related to this issue I think. Reassigning.