the blog
Back to -Blog

New Generate and Rake tools - coming soon...

Ruby In Steel 1.1 Preview
by Huw Collingbourne
Monday 14 May 2007.

Here’s a preview of a couple of new things which will be in version 1.1 of Ruby In Steel Developer. Since the release of version 1.0 we’ve had a few requests for better Rake and Generate tools - some people have asked for simple things such as bigger entry fields; others have wanted the ability to dock the script-running windows instead of having to load the dialogs each time you need to run a script. OK, we heard your requests. So in version 1.1, the Rake and Generate dialogs will be replaced by dockable/tabbable/floatable toolwindows. Here, for example, is the new Generate toolwindow...

As you can see, this is not just a minor redesign, it’s a completely new tool. You can ‘build’ Rails Generate scripts by clicking items, such as controller, model and scaffold in the list box at the left, then you can specify a name such as MyStore or MyBlog in the Script Value field at the top right, click a radio button to toggle between Generate and Destroy and, optionally, click one or more checkboxes to add script options. The end result is that the entire Generate script is written for you in the field down at the bottom. You can either edit this or run it as it is by pressing the Go button. The new Rake toolwindow adopts a similar approach....

The toolwindows can be docked (if you use them regularly) and the script field should then be wide enough to accommodate even the longest of scripts without fear of the end scrolling out of view.

We list all the ‘standard’ Rails Generate scripts automatically in the Script Action list box of the Generate toolwindow. We haven’t yet decided which Rake scripts to list by default, however. If anyone has strong views on the Rake tasks which should be included in this default list, please let us know.

In any case, you will be able to add, edit or delete items from the default list and your new ‘custom list’ will be persisted from one session to another...

We plan to release Ruby In Steel Developer 1.1 within the next few weeks. This will be a free upgrade to all registered users. In fact, as I’ve said before, all registered users will get all updates of all versions of Ruby In Steel 1.x at no extra cost, so if you haven’t bought your copy yet, now’s as good a time as any ;-)

Bookmark and Share   Keywords:  ide
© SapphireSteel Software 2014