Hacking Rails Implicit Rendering for View Components
27-Apr-2023 683
Understanding how Rails handles requests from routes.rb to calling the action method on a controller makes it possible to build Rails plugins ranging from Hanami-like action classes to component-driven Rails development.Have you ever opened a Rails controller that looks like this and wondered how it knows to render the view ./app/views/show.html.erb?.
Hacking Rails Implicit Rendering for View Components #ruby #rubydeveloper #rubyonrails #Hacking #Rails #Implicit #Rendering #Components https://rubyonrails.ba/link/hacking-rails-implicit-rendering-for-view-components