> > The only problem with that is that a developer may create a migration > and forget to update the field descriptions in the model. Out of date > and wrong comments are the worst. >
Good point. Hard to find documentation still sucks though > I like the idea of patching migrations to use the field comment in the > database. Then plugins like annotate models could pull the comment and > write it to the model file for easy access. If the process of pulling out the value of these fields and displaying them somewhere is automatic this scenario would become very useful. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
