Rails Plugin Annotate Models For Spec And Spec Fixtures


I have been using “Annotate Models” rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin file so that it prepends schema info to spec file and fixture file. Below are the links of patch file:

svn patch to add schema info to spec file and spec fixture file
git patch to add schema info to spec file and spec fixture file

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Git Error: trailing whitespace, indent SP followed by a TAB, unresolved merge conflict
Git - Fast Version Control System

Reader Comments

Why not host it on github?

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.