Sha256: d06f62848380f92b1bd7fae87fdd4634d8f3166428e242e5f2e978cf9f61b02c

Contents?: true

Size: 1.07 KB

Versions: 20

Compression:

Stored size: 1.07 KB

Contents

Description:
  Generate an action that imports a list of records to its parent.

Example:
  E.g. Generate a CSV Importer that creates many Posts on a Team.
    rails generate super_scaffold:action_models:performs_import CsvImport Post Team

  This will create:
    app/avo/resources/posts_import_action.rb
    app/controllers/account/posts/import_actions_controller.rb
    app/controllers/avo/posts_import_actions_controller.rb
    app/models/posts/import_action.rb
    app/views/account/posts/import_actions/
    config/locales/en/posts/import_actions.en.yml
    db/migrate/20240612185843_create_posts_import_actions.rb
    test/factories/posts/import_actions.rb
    test/models/posts/import_action_test.rb
  And update:
    app/models/team.rb
    app/views/account/posts/_index.html.erb
    config/models/roles.yml
    config/routes.rb
    config/routes/api/v1.rb

🏆 Protip: Commit your other changes before running Super Scaffolding so it's easy to undo if you (or we) make any mistakes.
If you do that, you can reset to your last commit state by using `git checkout .` and `git clean -d -f`.

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.10.0 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.9.0 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.5 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.4 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.3 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.2 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.1 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.8.0 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.23 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.22 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.21 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.20 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.19 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.18 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.17 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.16 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.15 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.14 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.13 lib/generators/super_scaffold/action_models/performs_import/USAGE
bullet_train-super_scaffolding-1.7.12 lib/generators/super_scaffold/action_models/performs_import/USAGE