In this first video, we show how to enhance the amazing Cells gem by providing a simple DSL on top of it, leaving only your domain language. In Rails code, that is translated to "no appearances of the words render, partial or alike".
It makes use of method_missing, which envolves dispatching the invocation twice. It should be no user perceived performance bottleneck in a typical scenario. The next contributions and improvements would be to only respond to method invocations that are really a cell. Another one is to dinamically add the methods instead of using method_missing.
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?