Files

Class Index [+]

Quicksearch

Description:

The model_active_ldap generator creates stubs for a new model.

The generator takes a model name as its argument.  The model name may be given in CamelCase or under_score and
should not be suffixed with 'Model'.

The generator creates a model class in app/models, a test suite in test/unit, and test fixtures in
test/fixtures/singular_name.yml. It will not create a migration.

Examples:

rails generate active_ldap:model user

    This will create a User model:
        Model:      app/models/user.rb
        Test:       test/unit/user_test.rb
        Fixtures:   test/fixtures/users.yml

[Validate]

Generated with the Darkfish Rdoc Generator 2.