Sha256: 636a2cda834f4c9134c43deac7c1eba4f89b04fcff4388c67a795855088bfc59

Contents?: true

Size: 910 Bytes

Versions: 4

Compression:

Stored size: 910 Bytes

Contents

Description:
  Generate files needed to add an audit log to a model.

Example:
  E.g. Add audit logs to Posts from a Team.
    rails generate super_scaffold:audit_logs Post Team name:text_field

  The attributes you specify will be added to the _version partial and used to show different versions of the model.

  This will create:
    db/migrate/20241115152914_add_project_to_activity_versions.rb
    app/views/account/projects/_version.html.erb'.
  And update:
    app/models/project.rb
    app/models/activity/version.rb
    app/views/account/projects/show.html.erb
    app/models/activity/version.rb
    config/routes.rb
    app/controllers/account/projects_controller.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

4 entries across 4 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.10.0 lib/generators/super_scaffold/audit_logs/USAGE
bullet_train-super_scaffolding-1.9.0 lib/generators/super_scaffold/audit_logs/USAGE
bullet_train-super_scaffolding-1.8.5 lib/generators/super_scaffold/audit_logs/USAGE
bullet_train-super_scaffolding-1.8.4 lib/generators/super_scaffold/audit_logs/USAGE