Inline Routes in Rails
14-May-2023 611
If you want to quickly try out some Rails feature or code in the browser without spinning up a whole new controller and a view, simply map the incoming request to a lambda Rack endpoint, i.e. a lambda that returns the status, headers, and response body.
Inline Routes in Rails #ruby #rubydeveloper #rubyonrails #Inline #Routes #Rails https://rubyonrails.ba/link/inline-routes-in-rails