Sha256: 4c5b58556fe044894ee322bbdb5a34ddc1ee2b0f8297c79c0a3ce21ce2f49f33

Contents?: true

Size: 821 Bytes

Versions: 10

Compression:

Stored size: 821 Bytes

Contents

Description:
    Generates a custom plugin for Refinery automatically. It works very similar
    to the Rails scaffold generator.

    A generated plugin gives you all the basic files needed to manage the model
    the plugin will be for.

    The first attribute should always be the one which is the title or name of
    the model.

    There must be at least one attribute.

Additional Supported Field Types 

  All field types that are supported by the Rails Scaffold generator are supported with the addition
  of these Refinery specific ones:

  text            - text area with a visual editor
  image           - link to an image picker dialogue
  resource        - link to a resource picker dialogue

Example:
    rails generate refinery_engine product title:string description:text image:image brochure:resource

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
refinerycms-0.9.8.9 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.8 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.7 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.6 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.5 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.4 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.3 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.2 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8.1 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE
refinerycms-0.9.8 vendor/refinerycms/core/lib/generators/refinery_engine/USAGE