Annotate Models

August 10th, 2007 -

When ever I start a new project, I always include the plugin Annotate Models, written by Dave Thomas, from the infamous Pragmatic Programmers.

The plugin saves me time when working with either my models or fixtures, by annotating them with the current schema for that specific model/fixture. It is very useful when in development.

When working with Rspec I really miss seeing the schema for that specific model. So, I wrote a new feature for the plugin that will now annotate both your models and fixtures in rspec, if the directory exists. I’ve sent this off Dave Thomas and he told me he was going to take a look at it and possible include it – when it gets the time to go through it. Safe to say, I was pretty excited to receive a response from the Dave Thomas, considering his stature within the community.

Until then, you can grab it here for download to try out and see if you like it.

Tags: rails

 

Comments

 

Commenting has been turned off.