-
Notifications
You must be signed in to change notification settings - Fork 0
Rake tasks for adding ActiveModel annotations to app/models/*.rb, test/factories/*_factory.rb files.
License
bitaxis/annotate_models-old
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AnnotateModels ============== A collection of rake tasks to annotate files with ActiveRecord model information. Currently, this plugin annotates the following files: - app/models/*.rb - test/factories/*_factory.rb Example ======= The plugin comes with these tasks: - annotate:all Annotates factories (that is, factory_girl ones) and models. - annotate:factories Annotates only factory_girl factories. - annotate:models Annotates only ActiveRecord model files. - annotate:print Only prints out annotations. - annotate:test:unit Annotates unit test files. To invoke it, execute the command: > rake annotate:all OR > rake annotate:factories OR > rake annotate:models OR > rake annotate:print OR > rake annootate:test:unit Compatibility ============= Works with Rails 3.0.x & Ruby 1.9.2 on Mac OS X. This plugin is my own implementation and shares no code with other pre-existing implementations save the name. Copyright (c) 2011 bitaxis.com, released under the MIT license.
About
Rake tasks for adding ActiveModel annotations to app/models/*.rb, test/factories/*_factory.rb files.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published