
· Ruby
How to use the reduce method in Ruby
reduce in Ruby seems tricky if you didn't used it for a long time. Principle is simple, but let's see the syntax.
reduce in Ruby seems tricky if you didn't used it for a long time. Principle is simple, but let's see the syntax.
Livereload a Rails app on your local machine is still not available natively. Maybe in next version of Rails, but not yet.
A short memo about how to iterate over a Ruby array
Rails 8 comes with Hotwire by default to handle frontend complexity. Here is a simple tutorial from scratch.
Rollup and Esbuild can both handle JavaScript files in a Rails app. I made some little experiments, both locally and in-production.
This is an opinionated article about ERB and HAML with Rails. Let's compare each other and pick a winner.