Can't remove `<% yield p = np %>` from existing partial.
Closed this issue · 1 comments
andrewculver commented
Before:
Steps to reproduce:
- Clone https://github.com/bullet-train-co/bullet_train
- Get it up and running (e.g.
bin/setup
,bin/dev
, etc.) - Run
mkdir local; git clone git@github.com:bullet-train-co/nice_partials.git local/nice_partials
- Add
gem "nice_partials", path: "local/nice_partials"
toGemfile
- Run
bin/develop
and select thebullet_train-themes-light
Ruby gem. - Open
local/bullet_train-themes-light
. - Edit
app/views/themes/light/_box.html.erb
- Remove
<% yield p = np %>
- Experience bug.
After:
andrewculver commented
(Also, if I leave <% yield p = np %>
in place, everything continues to work fine.)