bin/super-scaffold action-model:targets-one-parent CourseCreate Course Site
I get the following error:
Traceback (most recent call last):
12: from bin/super-scaffold:6:in `<main>'
11: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-super_scaffolding-1.1.14/lib/bullet_train/super_scaffolding.rb:25:in `run'
10: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
9: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/skylight-5.3.4/lib/skylight/probes.rb:166:in `require'
8: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
7: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
6: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-super_scaffolding-1.1.14/lib/scaffolding/script.rb:107:in `<main>'
5: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-action_models-1.2.11/lib/bullet_train/action_models/scaffolders/targets_one_parent_scaffolder.rb:35:in `run'
4: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-action_models-1.2.11/lib/scaffolding/action_model_targets_one_parent_transformer.rb:25:in `scaffold_action_model'
3: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-action_models-1.2.11/lib/scaffolding/action_model_transformer.rb:232:in `scaffold_action_model'
2: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-action_models-1.2.11/lib/scaffolding/action_model_transformer.rb:232:in `each'
1: from /Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-action_models-1.2.11/lib/scaffolding/action_model_transformer.rb:233:in `block in scaffold_action_model'
/Users/eberry/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/gems/bullet_train-super_scaffolding-1.1.14/lib/scaffolding/transformer.rb:175:in `resolve_template_path': Couldn't find the Super Scaffolding template for `./app/views/api/v1/scaffolding/completely_concrete/tangible_things/targets_one_parent_actions` in any of the following locations: (RuntimeError)
This is happening due to the directory missing at the path
When I run the following generator command:
I get the following error:
This is happening due to the directory missing at the path
I expect that the solution would be to create the folder at the path above and add the 3 files:
_targets_one_parent_action.json.jbuilder
index.json.jbuilder
show.json.jbuilder
Note that the test
targets_one_parent_actions_controller_test.rb
is also missing.