Sha256: 9fa41912b5c5f8218213cdfaa091790182e62ea2f65fce9a1654df72495842b8

Contents?: true

Size: 605 Bytes

Versions: 39

Compression:

Stored size: 605 Bytes

Contents

Description:
    The model 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, test fixtures in
    test/fixtures/singular_name.yml.

Examples:
    ./script/generate hobo_model account

        This will create an Account model:
            Model:      app/models/account.rb
            Test:       test/unit/account_test.rb
            Fixtures:   test/fixtures/accounts.yml

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
hobo-1.1.0 rails_generators/hobo_user_model/USAGE
hobo-1.0.3 rails_generators/hobo_user_model/USAGE
hobo-1.1.0.pre4 rails_generators/hobo_user_model/USAGE
hobo-1.1.0.pre3 rails_generators/hobo_user_model/USAGE
hobo-1.1.0.pre2 rails_generators/hobo_user_model/USAGE
hobo-1.1.0.pre0 rails_generators/hobo_user_model/USAGE
hobo-1.0.2 rails_generators/hobo_user_model/USAGE
hobo-1.0.1 rails_generators/hobo_user_model/USAGE
hobo-1.0.0 rails_generators/hobo_user_model/USAGE
hobo-0.9.106 rails_generators/hobo_user_model/USAGE
hobo-0.9.105 rails_generators/hobo_user_model/USAGE
hobo-0.9.104 rails_generators/hobo_user_model/USAGE
hobo-0.9.103 rails_generators/hobo_user_model/USAGE
hobo-0.9.102 rails_generators/hobo_user_model/USAGE
hobo-0.9.101 rails_generators/hobo_user_model/USAGE
hobo-0.9.100 rails_generators/hobo_user_model/USAGE
hobo-0.9.0 rails_generators/hobo_user_model/USAGE
hobo-0.8.10 rails_generators/hobo_user_model/USAGE
hobo-0.8.9 rails_generators/hobo_user_model/USAGE
hobo-0.8.8 rails_generators/hobo_user_model/USAGE