question on rake and migrations in netbeans...

The demos on the netbeans site are good but show creating the db by running a sql script.

Has anyone figured out how to run migrations from the ide? And how do rake tasks get executed from the ide?

(I wasn't sure whether to post this here but with the unfortunate demise of radrails and the good job netbeans appears to be doing, I would expect many of us to be using nb a our main dev env.

Thanks.