dewski/json_builder — Issue #13: Rendering partials
Author: donaldpiret
Created: 2011-12-05 10:06:12+00:00
State: open

How would I work with partials and json_builder to avoid duplication?

With builder I can do something like:

```
xml.destinations do
@destinations.each do |destination|
xml << render(:partial => 'destination', :object => destination)
end
end
```