CHANGELOG.md in nice_partials-0.9.2 vs CHANGELOG.md in nice_partials-0.9.3

- old
+ new

@@ -1,6 +1,26 @@ ## CHANGELOG +### 0.9.3 + +* Fixed: section predicates not respecting `local_assigns` content + + Previously, when doing something like this: + + ```erb + <%= render "card", title: "Hello there" %> + ``` + + If the inner card partial had this, + + ```erb + <% if partial.title? %> + <%= partial.title %> + <% end %> + ``` + + The `title?` predicate would fail, because it didn't look up content from the passed `local_assigns`. Now it does. + ### 0.9.2 * Changed: view methods don't clobber section names Previously, we'd eagerly delegate to the view context so if the view had a `label` method, `partial.label` would call the view's `label` instead of making a `label` section.