Sha256: 2e5503f2e2a273ccc0c686f9948335c4c276eed82e49b27f333a2dd86bd306d8
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
Description: Stubs out a new portlet. Pass the content block name, either CamelCased or under_scored, and an optional list of attribute pairs as arguments. Attribute pairs are column_name:sql_type arguments specifying the model's attributes. Timestamps are added by default, so you don't have to specify them by hand as 'created_at:datetime updated_at:datetime'. This generates a portlet class in app/portlets and a form in app/view/portlets. Examples: `./script/generate portlet foo_portlet name:string` creates a Foo portlet and form
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nate-browsercms-3.0.210 | rails_generators/portlet/USAGE |
nate-browsercms-3.0.211 | rails_generators/portlet/USAGE |