Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this gem break controller generators? #42

Open
richardonrails opened this issue Jun 19, 2020 · 1 comment
Open

Does this gem break controller generators? #42

richardonrails opened this issue Jun 19, 2020 · 1 comment

Comments

@richardonrails
Copy link

When I run the rails generate scaffold_controller Foo name:string I get an error liquid [not found].

$ rails g scaffold_controller Foo name:string                      
      create  app/controllers/foos_controller.rb
       error  liquid [not found]
      invoke  test_unit
      create    test/controllers/foos_controller_test.rb
      create    test/system/foos_test.rb
      invoke  helper
      create    app/helpers/foos_helper.rb
      invoke    test_unit
      invoke  jbuilder
      create    app/views/foos
      create    app/views/foos/index.json.jbuilder
      create    app/views/foos/show.json.jbuilder
      create    app/views/foos/_foo.json.jbuilder

Since it fails on "liquid", wondering if the issue may be related to this gem...

I don't really expect it to be scaffolding any liquid templates, I just want my typical .erb templates generated.

@richardonrails
Copy link
Author

Similar issue with generating a controller. Models and migrations can still generate just fine.

rails generate controller Foo index                                                                  
      create  app/controllers/foo_controller.rb
       route  get 'foo/index'
       error  liquid [not found]
      ...

@richardonrails richardonrails changed the title Does this gem break scaffold_controller ? Does this gem break controller generators? Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant