Sha256: 2143833a536df14c1aa9e010f29c1b07690c3e1550a90ecc67d3c5cf5aa4f790

Contents?: true

Size: 1.11 KB

Versions: 44

Compression:

Stored size: 1.11 KB

Contents

Description:
  Add a new field to an existing Super Scaffold. See the docs for more details:
  https://bullettrain.co/docs/super-scaffolding

Example:
  bin/rails generate super_scaffold:field Project description:trix_editor

  This will update:
    app/models/project.rb
    app/views/account/projects/_form.html.erb
    app/views/account/projects/show.html.erb
    config/locales/en/projects.en.yml
    config/locales/en/projects.en.yml
    app/controllers/account/projects_controller.rb
    app/controllers/api/v1/projects_controller.rb

Field Partial Types:
  address_field:       nil
  boolean:             boolean
  buttons:             string
  cloudinary_image:    string
  color_picker:        string
  date_and_time_field: datetime
  date_field:          date
  email_field:         string
  emoji_field:         string
  file_field:          attachment
  image:               attachment
  options:             string
  password_field:      string
  phone_field:         string
  super_select:        string
  text_area:           text
  text_field:          string
  number_field:        integer
  trix_editor:         text

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.6.32 lib/generators/super_scaffold/field/USAGE
bullet_train-super_scaffolding-1.6.31 lib/generators/super_scaffold/field/USAGE
bullet_train-super_scaffolding-1.6.30 lib/generators/super_scaffold/field/USAGE
bullet_train-super_scaffolding-1.6.29 lib/generators/super_scaffold/field/USAGE