Rails Vérifiez partiel si local existe

<section 
  id="view-dashboard" 
  class="<%= 'embedded' if local_assigns[:is_embedded] %>"
>
Emiliano López