Sha256: 37b7332e80199f29aad720d69c70b2caa9b1f4933e9930662add9f2a1560dcae
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
Description: The db_discovery generator creates stub for a new models based on information discovered from DB. The generator creates a model classes in app/models, a test suites in test/unit, test fixtures in test/fixtures/singular_name.yml, and a migrations in db/migrate. Example: ./script/generate db_discovery --discover --no-fields This will create an discovered models: Model: app/models/<table name>.rb Test: test/unit/<table name>_test.rb Fixtures: test/fixtures/<table name>s.yml If --no-fields is provided then table's available field definitions will be skipped
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
db_discovery_generator-0.1.1 | USAGE |