benkoshy
Joined 2/3/2022
benkoshy said over 2 years ago on esbuild for Rails :
When using es-build to manage bootstrap, there are two components involved:

(1) bootstrap javascript
(2) bootstrap styling

does it make sense to use cssbundling-rails https://github.com/rails/cssbundling-rails to manage the css portions of bootstrap, and use jsbundling-rails to manage the js components via es-build?

was curious to know everyone's thoughts on this approach?

benkoshy said 8 months ago on I'm a teapot :
How is one, practically, to implement all these response codes?

Wouldn't you need a massive case statement when returning a controller action? Does Rails handle most of the difficulties outside the box?

# pseudo-code
def controller_action
   case :succes
     then
   case :other code
     then 
   end
end