Sha256: 5004a6436e3503e845d54a8e73ea1a23973cdf1254772819fdff7b3b605d6b0f
Contents?: true
Size: 946 Bytes
Versions: 2
Compression:
Stored size: 946 Bytes
Contents
Description: Generates a custom plugin for Answers 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 Answers specific ones: text - text area with a visual editor image - link to an image picker dialogue resource - link to a resource picker dialogue Examples: rails generate answers:engine product title:string description:text image:image brochure:resource rails generate answers:engine product title:string description:text image:image brochure:resource --i18n title description
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
answers-core-0.0.0.2 | lib/generators/answers/engine/USAGE |
answers-core-0.0.0 | lib/generators/answers/engine/USAGE |