Open donaldpiret opened 12 years ago
Currently there is no way to do this, but I would like to include this in the next version and get it in there as soon as possible. If you'd like to take a stab at it let me know.
any progress on this? I really like the json_builder syntax, but lack of partials is a blocker for me.
I'm looking for a basic use case, where /show.json.json_builder , /edit.json.json_builder and /index.json.json_builder all refer to the same partial, say, _widget.json.json_builder.
@syrnick there is still some work left to do, but it's rather close. If you feel confident enough you can use the development version here.
+1
Why the partial branch isn't merged yet?
+1, can't use this without partials :(
Need this too
How would I work with partials and json_builder to avoid duplication?
With builder I can do something like: