[Rails] Re: Re: Re: [ANN] Dr Nic’s Magic Models
Dr Nic
drnicwilliams at gmail.com
Tue Aug 15 14:54:05 GMT 2006
James Mead wrote:
> On 08/08/06, Dr Nic <drnicwilliams at gmail.com> wrote:
>> I think you'll quickly need your models if you want to add methods and
>> specific associations. Plus with something like the annotate_models
>> plugin, you can generate a comment header to show you the schema
>> definition.
>
> If you use TextMate, you might like to try Chris Roos' command which
> displays the table structure in a tooltip -
> http://blog.seagul.co.uk/articles/2006/07/14/textmate-command-to-display-active-record-column-attributes.
> I think it's now been incorporated into the TextMate rails bundle.
That's sexy - I think its definitely a good idea for Rails-specific IDEs
to allow Model -> Schema view -> Model transition hot keys.
I use RadRails and it supports Model -> Unit Test -> Model windows via
Shift-Ctrl-V. Perhaps I'll see I can get them to add a Model -> Schema
View -> Model transitions on Shift-Ctrl-S or something.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list