cells-rails icon indicating copy to clipboard operation
cells-rails copied to clipboard

Why is cell looking for block.erb?

Open JohnSmall opened this issue 6 years ago • 1 comments

I'm upgrading from 3.11.x to 4.1.x

I have many cells, with tests on them. They're running OK. But now I've encountered one with two strange behaviours (the other weird stuff is a separate ticket #52 )

In this case the cell template includes a partial. With the partial left in place it complains that it can't find block.erb.

If I create an empty block.erb it works.

If I comment out the partial and remove block.erb it works.

Why does including a partial in the template trigger an attempt to use block.erb?

JohnSmall avatar Jul 09 '19 13:07 JohnSmall

Please explain what this means:

cell template includes a partial.

apotonick avatar Jul 09 '19 13:07 apotonick