6

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

stereodenis
  • 3,618
  • 2
  • 22
  • 27

1 Answers1

9

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

include AbstractController::Rendering

Hope it helps

devanand
  • 5,116
  • 2
  • 20
  • 19