group was awesome, i miss it
I don't think this is new or surprising, but I actually used the "group" feature in the past, and have been unable to find a usable workaround for the case of "I want all of these objects to bump over to next page if there isn't enough space for them where they are". When I invoke group, I get an error saying that it's been disabled because of corruption. I'm not sure I have time or skill to try to fix such a thing, but I want to be sure it's in the tracker somewhere.
(Alternatively: If there's some other way to achieve the same goals, like a speculative-render to find out what something's bounds would be if you did it, that could serve? But at that point that could be a way to implement group, too.)
Hi, there is a gem https://github.com/ddengler/prawn-grouping, I've never used it but take a look.
To be honest, it may be better to actually include it as part of prawn directly, while displaying a warning that it is not recommended to use it perhaps.
I just gave the prawn-grouping gem a bit of (much needed) love and released a new version that should be at least easy to install and compatible with the recent prawn version. Let me know if you find any issues.
@seebs your suggestion is basically what the grouping gem does internally