diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2e3ff1d6b..4c2bd0441 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -34,6 +34,10 @@ nav_order: 5 *Javier Aranda* +* Allow rendering `with_collection` to accept an optional `spacer_component` to be rendered between each item. + + *Nick Coyne* + ## 3.17.0 * Use struct instead openstruct in lib code. diff --git a/docs/guide/collections.md b/docs/guide/collections.md index 0f97f5a80..3f823de6a 100644 --- a/docs/guide/collections.md +++ b/docs/guide/collections.md @@ -113,6 +113,9 @@ end ## Spacer Components +Since 3.18.0 +{: .label } + You can also specify a component to be rendered between instances of the main component by using the :spacer_component option: ```erb