Hacking Rails controller actions and rendering
https://terminalwire.com/articles/rails-implicit-rendering shows how the Rails method_for_action
controller method can be overridden to build gems like Superview, which renders Phlex and ViewComponent’s for views, or build controllers that can handle bulk form actions, including securing each individual bulk action with a before_filter
.
Post a comment