You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A small improvement on changes from solidusio#6091
where in Rails 7 calling `tag.method(@tag).parameters.any? { |_type, name| name == :content }`
would always return false when @tag == :select, since `tag.select` method's
signature has only `*` (:rest) as its parameter, thus not passing any `<option>`s for select tag.
Somehow the problem was not being flagged by CI builds, but admin specs failed locally.
Instead, use explicit void elements list to understand whether given element is void, therefore does not accept `content`.
0 commit comments