liquid-rails
liquid-rails copied to clipboard
Does this gem break controller generators?
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.
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]
...