Sha256: c3b398a36f8cb310e369ba868d9f7361f00338f3972e3186bbd4a7ef99a130bf
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
Description: The extension generator creates stubs for a new Radiant extension. The generator takes an extension name as its argument. The extension name may be given in CamelCase or under_score and should not be suffixed with 'Extension'. The generator creates an extension directory in vendor/extensions that includes <extension_name>_extension.rb, README and Rakefile files as well as db, lib, task, and test directories. Example: rails generate extension AssetManagement This will create: vendor/extensions/asset_management/app/controllers vendor/extensions/asset_management/app/helpers vendor/extensions/asset_management/app/models vendor/extensions/asset_management/app/views vendor/extensions/asset_management/db/migrate vendor/extensions/asset_management/lib/tasks vendor/extensions/asset_management/README vendor/extensions/asset_management/asset_management_extension.rb vendor/extensions/asset_management/lib/tasks/asset_management_extension_tasks.rake vendor/extensions/asset_management/spec/controllers vendor/extensions/asset_management/spec/models vendor/extensions/asset_management/spec/views vendor/extensions/asset_management/spec/helpers vendor/extensions/asset_management/Rakefile vendor/extensions/asset_management/spec/spec_helper.rb vendor/extensions/asset_management/spec/spec.opts
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-rails3-0.1 | lib/generators/extension/USAGE |