Nick Sutterer

Results 675 comments of Nick Sutterer

Ah ok, thanks, now I understand your pain. I can't say it for sure, but if `Cell::RailsExtensions::ViewModel` did not get included properly, many other things wouldn't work, either. Also, you...

That's right, in views, `cell(..)` will result in `cell(..).to_s` will result in `cell(..).(:show)` will result in a html_safe string.

..which is exactly what happens: https://github.com/apotonick/cells/blob/master/lib/cell/rails.rb#L47 I just messages you on IRC to please join Trailblazer gitter channel.

I have zero clue what might be wrong, as it works for me in many projects. Do you have a minimal cell that can provoke this error? Or does it...

So, should we simply document that in `cells-slim`? I have no clue how to fix that and zero time to investigate. It must be something with this bloody `html_safe` string...

Yes, this doesn't make sense to me, but it makes sense in Rails. :thinking: How could we test this? This must go to the cells-rails gem, though.

@yogeshjain999 also found https://github.com/trailblazer/trailblazer-cells/issues/13 which is a the same bug.

@yogeshjain999 Can't we fix this in `Trailblazer::Cell`? I think it's a problem there and not in the `cells` gem?

Do you have any example on where this method is used in your apps? :beers:

Thanks @PikachuEXE for your contributions! :heart: We are still mulling over the decision whether or not this addition is really needed in the core code. It's a helpful method, but...