George Bragin

Results 9 comments of George Bragin

Thanks for the response! It's not urgent at all, the workarounds work fine for now. > what we really need is a types-level debugger that would tell us how TS...

I have a twin class to share some code between different representers. I just want to use its properties in a cell (concept actually).

Yes, it works without twin. I just tested it. Ok, here is some code: ``` ruby class Invoice < ActiveRecord::Base # ... end class Invoice::Twin < BaseTwin # properties here......

Yes, I can I know. It's not an issue :) The issue is that including `include ::Cell::Twin` into `Invoice::Concept` breaks collection rendering.

I just updated cells to 4.0.1 and it broke device helpers in cells. I already read that helper_method is not available anymore so I tried to use something like `delegate...

Yes, I think it's due to `options.delete(:controller)` and then `options` is passed to the next element with no :controller in `options`.

It's here https://github.com/apotonick/cells/blob/f785b3431b226b5c98a5cd58d4fc76e13239f0d7/lib/cell/twin.rb#L17 So it builds the first element with controller and then controller gets lost.

Ok, thanks again. Just one thought: since anyone can modify options in one cell and it will affect all next cells in a collection maybe it would be good to...