An open API service indexing awesome lists of open source software.

https://github.com/mrkamel/render_object

Map an object to a partial.
https://github.com/mrkamel/render_object

Last synced: about 1 month ago
JSON representation

Map an object to a partial.

Awesome Lists containing this project

README

          

# RenderObject

Simply map an object to a partial and render it.
For instance, to render path/to/partial/some_object.html.erb, simply use in your view:


render_object SomeObject.new, :path => "path/to/partial"