Sha256: 38370219ea2dc82d915e3a367bced39381a5ae9da1997da7d7ffd4242a2fa945

Contents?: true

Size: 475 Bytes

Versions: 162

Compression:

Stored size: 475 Bytes

Contents

Description:
============
    Creates a new component and test.
    Pass the component name, either CamelCased or under_scored, and an optional list of attributes as arguments.

Example:
========
    bin/rails generate component Profile name age

    creates a Profile component and test:
        Component:    app/components/profile_component.rb
        Template:     app/components/profile_component.html.erb
        Test:         test/components/profile_component_test.rb

Version data entries

162 entries across 162 versions & 3 rubygems

Version Path
actionview-component-1.5.1 lib/rails/generators/component/USAGE
actionview-component-1.5.0 lib/rails/generators/component/USAGE