generators/dry_model/USAGE in grimen-dry_scaffold-0.2.2 vs generators/dry_model/USAGE in grimen-dry_scaffold-0.2.3
- old
+ new
@@ -1,8 +1,12 @@
NAME
- dry_model a.k.a. dmodel - A Rails scaffold generator that generates DRYer, cleaner, and more useful code - for models.
+ dry_model/dmodel - A Rails scaffold generator that generates DRYer, cleaner, and more useful code - for models.
DESCRIPTION
A replacement for the Rails model generator - a part of the dry_generator toolset.
EXAMPLE
- ./script/generate dry_model ModelName [attribute:type attribute:type] [_index:name,owner_id+owner_type,active,...] [--fixtures] [--fgirl] [--machinist] [--odaddy] [--skip-timestamps] [--skip-migration] [--skip-tests]
+ ./script/generate dry_model ModelName [attribute:type attribute:type] [_index:name,owner_id+owner_type,active,...] [--fixtures] [--fgirl] [--machinist] [--odaddy] [--skip-timestamps] [--skip-migration] [--skip-tests]
+
+ ...or the shortcut version:
+
+ ./script/generate dmodel ...
\ No newline at end of file