Josh Price wrote: > Does anyone still use the annotate models plugin? > > http://agilewebdevelopment.com/plugins/annotate_models > > It takes your schema and put it as a comment block at the top of your model > classes. Combined with migration-based comments this might work for you. > > When I used this a while back I found keeping it up to date manually mildly > annoying, but if your schema isn't going to change much then it might be a > good solution.
I use it and find it handy for keeping a list of DB fields within easy reach when working on a model. I don't think it currently extracts fields comments from the DB however. One minor irritation is that it doesn't interact nicely with files that have a ruby 1.9 encoding statement (# coding: utf-8 and friends) at the top of the file. -- James Healy <[email protected]> Wed, 04 Nov 2009 12:37:36 +1100 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
