Skip to content

Instantly share code, notes, and snippets.

@pmoran
Created Jun 20, 2010
Embed
What would you like to do?
<% @partials.find(:all, :in_directory => "/main") do |partial| %>
<div id='<%= partial.name %>' style='display: none'>
<div><%= render(:partial => partial) %></div>
</div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment