We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ActionView::MissingTemplate
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
View files generated by scaffold cause ActionView::MissingTemplate when the Model name is nested.
$ rails new myapp --css=tailwind $ cd myapp $ bin/rails generate scaffold Foo/Bar title:string body:text $ bin/rails db:migrate $ bin/rails r 'Foo::Bar.create' $ bin/rails s $ curl -is http://localhost:3000/foo/bars | grep MissingTemplate ActionView::MissingTemplate in </div><div class="line active"> raise(MissingTemplate.new(self, path, prefixes, partial, details, details_key, locals))
Probably this line is wrong, and singular_name should be used instead of singular_table_name like rails/rails, but I'm not 100% sure.
singular_name
singular_table_name
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
View files generated by scaffold cause
ActionView::MissingTemplate
when the Model name is nested.Probably this line is wrong, and
singular_name
should be used instead ofsingular_table_name
like rails/rails, but I'm not 100% sure.The text was updated successfully, but these errors were encountered: