The question is answered elsewhere, (how to render partial on everything except a certain action) but does not apply to a Rails engine, which in my case shares the application controller. I don't want my partial "_homeHeader.html.erb" to appear on the pages in the engine. The Engine is rapidfire, a survey. I tried
<%=render :partial =>'layouts/homeHeader' unless {controller => 'rapidfire'} %}
But that blocked the partial everywhere. The header contains a login - logout, which conflicts with the engine. I also tried putting a dummy "_homeHeader.html.erb" in the views folder for rapidfire, but that didn't work; I'm guessing the layout view has precedence.
At the suggestion of Michael I fixed the syntax to
<%= render :partial =>'/layouts/homeHeader' unless (controller.controller_name == "rapidfire/question_groups") %>
but it didn't work. it's still choking on a login with this error:
undefined local variable or method `destroy_user_session_path' for #<#<Class...