Sha256: 31e7ff5b27359be8e0349e99535833a016574b532c6174043c5bd9a9ee0feb50

Contents?: true

Size: 271 Bytes

Versions: 9

Compression:

Stored size: 271 Bytes

Contents

Usage:
  script/generate view_models <view model class name>
  script/generate view_models User
  
  script/generate view_models <view model class name> <partials for render_as, separated by space>
  script/generate view_models User compact extensive list_item table_item

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
view_models-2.0.1 lib/rails2/generators/view_models/USAGE
view_models-2.0.0.ruby19 lib/rails2/generators/view_models/USAGE
view_models-2.0.0 lib/rails2/generators/view_models/USAGE
view_models-1.5.7 generators/view_models/USAGE
view_models-1.5.6 generators/view_models/USAGE
view_models-1.5.5 generators/view_models/USAGE
view_models-1.5.4 generators/view_models/USAGE
view_models-1.5.3 generators/view_models/USAGE
view_models-1.5.2 generators/view_models/USAGE