diff --git a/CHANGES.md b/CHANGES.md index 31e9bed4..cd4b48dd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -55,6 +55,9 @@ YOU CAN PASS BLOCK BUT IT WILL BE PASSED TO Template#render. cell(Song::Cell, song) ``` + :layout + :layout with :collection + ## 4.0.5 * Fix `Testing` so you can use Capybara matchers on `cell(:song, collection: [..])`. diff --git a/lib/cell/collection.rb b/lib/cell/collection.rb index c558f5c8..456a1322 100644 --- a/lib/cell/collection.rb +++ b/lib/cell/collection.rb @@ -11,8 +11,7 @@ def initialize(ary, options, cell_class) module Call def call(state=:show) - join(@join) { |cell, i| cell.(@method || state) }#. - #html_safe # FIXME: this is not desired outside of rails. + join(@join) { |cell, i| cell.(@method || state) } end end include Call