This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Chetan Mittal (author)
Wed Nov 05 08:38:11 -0800 2008
commit e617b775bd97d0c081336c9e24b6db751c518648
tree 44c0789796fdf5f1b10e731ef05d24c3cd8bae48
parent f695b1b68aaa907bb94620e860f53cc749b84f1a
tree 44c0789796fdf5f1b10e731ef05d24c3cd8bae48
parent f695b1b68aaa907bb94620e860f53cc749b84f1a
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
ChangeLog | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
lib/ | ||
| |
spec/ |
README.textile
merb_annotate_models
merb_annotate_models annotates your merb app activerecord models with schema details
Version
0.0.2
Install
- Download or git clone merb_annotate_models from merb_annotate_models @ github
- Advanced – Update MERB_VERSION and MERB_AR_VERSION with the latest gems installed on your computer
- run “sudo rake install” – without quotes
Schema format that gets added
Add a comment summarizing the current schema to the top
of each ActiveRecord model source file:
- Schema as of Sun Feb 26 21:58:32 CST 2006 (schema version 7)
# - id :integer(11) not null
- quantity :integer(11)
- product_id :integer(11)
- unit_price :float
- order_id :integer(11)
#
Note that this code will blow away the initial comment block in your models if it looks ike it was
previously added by annotate models, so you don’t want to add additional text to an automatically
created comment block.
Back up your model files before using…
Credits
Rails version:
- Dave Thomas – Pragmatic Programmers, LLC
Merb version:
License
Released under the same license as Ruby. No Support. No Warranty.








