Question

When I start the application crashes following error

/home/stereodenis/.rvm/gems/ruby-1.9.3-p194@nyanya/gems/haml-3.1.6/lib/haml/helpers/action_view_mods.rb:15:in `alias_method': undefined method `render' for class `ActionView::Base' (NameError)

What maybe wrong?

full trace https://gist.github.com/5e3244d488068c9d0ba7

Was it helpful?

Solution

If you are using a render inside a helper you have to include the functionality!

include AbstractController::Rendering

Hope it helps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top