Closed amolplay closed 5 years ago
Newest haml-rails
requires ruby >= 2.3.0
and Rails >= 5.1
.
By the way, if you cannot update, try this.
I have added following line and bundle installed successfully...
But still error exists and not able to found the solution..
gem "haml-rails", "~> 2.0"
When I use
rails server
then it's giving error as : Undefined method 'html_tag' . It seems haml template views are not rendering.Used gems: haml haml-rails
Ruby: 1.9.3 Rails: 3.2.18
Also, it's gives undefined method
control_group
when I removedhtml_tag
from code base = f.control_group :email do |f| = f.label :email, :class => "control-label"When I remove above gems them plain HTML page rendering successfully.....!
I spent several nights but still not able to find out the root cause. Any help would be appreciated.