Maybe its just too late in the day and I should stop :). But I am stuck
very weird issue. Here is an excerpt from my erb file
<% display_invisible_content = !icon.nil? or (render_detach and
(I have certain, non mountable, entities which do not have mounted?
It should not have been a problem because the render_detach is true only
I have tested this writing a view spec and exercising the case where
nil and render_detach is false. The spec passed w/o calling the mounted?
method on entity.
When I come across the same scenario on the Rails UI (running in dev
the mounted? method is called on entity despite render_detach being
How is this possible?