Sha256: 5647bfe37be013de719ce70916731e1668d6f06b528336ac3a3e04fc86828eb9

Contents?: true

Size: 981 Bytes

Versions: 5

Compression:

Stored size: 981 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 "ruboss_scaffold".

Examples:
    `./script/generate ruboss_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

5 entries across 5 versions & 2 rubygems

Version Path
dima-ruboss4ruby-1.1.1 generators/ruboss_yaml_scaffold/USAGE
dima-ruboss4ruby-1.1.2 generators/ruboss_yaml_scaffold/USAGE
ruboss4ruby-1.1.1 generators/ruboss_yaml_scaffold/USAGE
ruboss4ruby-1.1.2 generators/ruboss_yaml_scaffold/USAGE
ruboss4ruby-1.1.0 generators/ruboss_yaml_scaffold/USAGE