Sha256: 68777d2df7a1b747a6a585cd91c561188b089a1f7f4e7548ad038b1df0a9d4d7

Contents?: true

Size: 821 Bytes

Versions: 12

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

12 entries across 12 versions & 1 rubygems

Version Path
refinerycms-generators-1.0.4 lib/generators/refinery_engine/USAGE
refinerycms-generators-1.0.3 lib/generators/refinery_engine/USAGE
refinerycms-generators-1.0.2 lib/generators/refinery_engine/USAGE
refinerycms-generators-1.0.1 lib/generators/refinery_engine/USAGE
refinerycms-generators-1.0.0 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.6 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.5 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.4 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.3 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.2 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9.1 lib/generators/refinery_engine/USAGE
refinerycms-generators-0.9.9 lib/generators/refinery_engine/USAGE