I am using haml and after upgrading to rails v2.3.8 and installing
rails_xss to fix any XSS holes in app, the tabnav fails to render with
following error:
ActionView::TemplateError (class or module required) on line #57 of
app/views/layouts/application.haml:
54: %span= link_to 'Profile',
user_profile_path(
current_user.user_profile.id)
55: %span= link_to 'Logout', logout_path
56: #main_nav.prepend-4
57: = tabnav :main
58: .support_data
59: -if production_env?
60: = "SUPPORT: #{SUPPORT_PHONE}"
haml (3.0.3) [v] lib/haml/helpers/action_view_mods.rb:30:in
`is_a?'
haml (3.0.3) [v] lib/haml/helpers/action_view_mods.rb:30:in
`output_buffer='
haml (3.0.3) [v] rails/./lib/haml/helpers/xss_mods.rb:109:in
`with_output_buffer'
haml (3.0.3) [v] lib/haml/helpers/action_view_mods.rb:90:in
`capture'
app/views/layouts/application.haml:57:in
`_run_haml_app47views47layouts47application46haml'
I am not sure if this is a rails-widgets issue or haml issue. Any clue?