don't bogart that block my friend

I just tried in our adva cms to use a render :update with a block. Quite simple thing and I’m surprised it haven’t been used anywhere else in the app. Even more surprising I got an error saying: tried to create Proc object without a block and googleing for it didn’t help at all, only a few people ran into the problem. But the stack revealed that the render call went through two plugins of ours and a quick look showed that those methods didn’t accept or pass the block that I gave render :update.

So kids, don’t forget to pass on the block.

Leave a Reply