Nick Sutterer
Nick Sutterer
What HAML version are you using? There's a bug with several versions!!!
@fran-worley Any ideas?
I don't understand that.. the context is passed into collections, there's tests here: https://github.com/apotonick/cells/blob/master/test/context_test.rb#L18 Could you provide a test that fails for your fix?
Hahaha thanks @toastercup I'm having a look today!
Just giving you a heads-up: we are planning to introduce a new collection API with a dedicated collection cell that you can override, etc. That is no excuse, though, why...
It's actually a bug in this gem, so you're doing right in posting that here. It shouldn't merge the options hash that way!
What if other cells would simply write to the `context` object?
I thought again about this: why don't we simply provide the content cell instance in the `:context` object? That would save the new argument and utilize what's already there. ```...
No worries @herwinw, thanks for thinking of us :beers:
I think a quick solution would be to let Ruby do this by doing `build(model, **options)`. In v5 we will enforce such an interface for constructors. Ouch, that sounds like...