bullet-train-co / bullet_train

The Open Source Ruby on Rails SaaS Template
MIT License
1.58k stars 244 forks source link

Running super_scaffold breaks with error message "Model file not found" even though it was generated #1545

Closed StandardNerd closed 2 weeks ago

StandardNerd commented 2 weeks ago

Executing rails g super_scaffold Foo Team title:text_field returns an error:

../.gem/ruby/3.3.2/gems/bullet_train-super_scaffolding-1.7.12/lib/scaffolding/transformer.rb:475:in `readlines': No such file or directory @ rb_sysopen - ./app/models/foo.rb

But the file was generated and it can be found in app/models/.