Rails Plugin - Shiny-render

21 December 2006

Dave of Shiny Development and Afeeda fame has released a new plugin for Rails called Shiny Render

It’s a simple patch but one I think would be quite suited for merging with simply_helpful

Basically it allows you to pass an HTML tag to wrap around any collections that are rendered in a partial and suppresses the tag if nothing is rendered.

The example Dave gave me was:

<%= render partial => "tag", :collection => current_user.tag_names, parent_tag => 'ul' %>

Very nice, visit the RubyForge project for Shiny-render to submit your patches and ideas to Dave


Sorry, comments are closed for this article.