Rails 4.2.0 beta4 - Haml with no output -


i have installed haml gem in rails app (v4.2.0 beta4) doesn't seem compile output.

i have included gem in gemfile , ran bundle install , made sure changed html.erb files html.haml

this 1 of template , see heading "new recipe".

%h1 new recipe = render 'form' = link_to 'back', recipes_path 

and nothing gets displayed form partial.

i've come across similar issue , solution issue making controller inherit applicationcontroller rather actioncontroller.

i wonder if need make working. have thought installing haml gem have handled needed working.

in gemfile, put

gem "haml-rails" 

and of course bundle install

this gem need integrate haml rails app, provides wrappers needed able use ruby logic in haml views. using haml alone not sufficient haml framework independent.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -