Reputation: 1083
I'm getting the following error when I try to load my app:
ActionView::Template::Error at /
uninitialized constant ActionView::CompiledTemplates::EXPR_ARG
The error is found at app/views/layouts/application.html.haml
and the follow code is highlighted.
!!! 5
%html{:lang => "en"}
%head
= render partial: 'common/html_head'
%body#static{ class: body_css_class }
= content_for?(:base_content) ? yield(:base_content) : yield
Does anyone have an idea on what this is?
Upvotes: 6
Views: 1823
Reputation: 4516
This is a known bug in haml
gem, version 5.0.1 - 5.0.4
.
You need to update the gem version to 5.0.4
.
Upvotes: 7