I have the Rails partial which has a few such checks:
<%= if local_assigns.has_key?(:show_blabla) && show_blabla == false %>
blabla
<% end %>
I think that sort of hides the real list of parameters which are used by such partial, and hey local_assigns
is not in documentation even.
What are your thoughts?