Sha256: f059fad12659ed328b85af6bb41ff363ec7ef899c125fb99fd70e6703d3d7d24

Contents?: true

Size: 973 Bytes

Versions: 15

Compression:

Stored size: 973 Bytes

Contents

Description:
    Scaffolds an entire application based on db/model.yml file.
    
    This generator transforms entries in db/model.yml into 
    command line calls to "rx_scaffold".

Examples:
    `./script/generate rx_yaml_scaffold`
    
Sample Model File:
    project:
     - name: string
     - notes: text
     - start_date: date
     - end_date: date
     - completed: boolean
     - belongs_to: [user]
     - has_many: [tasks]

    location:
     - name: string
     - notes: text
     - belongs_to: [user]
     - has_many: [tasks]

    task:
     - name: string
     - notes: text
     - start_time: datetime
     - end_time: datetime
     - completed: boolean
     - next_action: boolean
     - belongs_to: [project, location, user]

    note:
     - content: text
     - belongs_to: [user]

    user:
     - login: string
     - first_name: string
     - last_name: string
     - email: string
     - has_many: [tasks, projects, locations]
     - has_one: [note]

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
captproton-restfulx-1.2.3 rxgen_generators/rx_yaml_scaffold/USAGE
dima-restfulx-1.2.0 generators/rx_yaml_scaffold/USAGE
dima-restfulx-1.2.1 generators/rx_yaml_scaffold/USAGE
dima-restfulx-1.2.2 rxgen_generators/rx_yaml_scaffold/USAGE
dima-restfulx-1.2.3 rxgen_generators/rx_yaml_scaffold/USAGE
dima-restfulx-1.2.4 rxgen_generators/rx_yaml_scaffold/USAGE
rlmattax-restfulx-1.2.4.1 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.3.1 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.3.0 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.2.5 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.2.3 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.2.4 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.2.0 generators/rx_yaml_scaffold/USAGE
restfulx-1.2.2 rxgen_generators/rx_yaml_scaffold/USAGE
restfulx-1.2.1 generators/rx_yaml_scaffold/USAGE