Ruby strftime explained
strftime can be read as "string format time". It is used when you want to transform a "time" object into a String. Let's see how.
If you eager to learn about web development, this blog is for you.
You can join the newsletter for a weekly training.
strftime can be read as "string format time". It is used when you want to transform a "time" object into a String. Let's see how.
This bug is really tricky, so here is my journey solving it. Maybe this will help other not to be too impatient :)
Open graph image allows you to have a nice picture preview on social media. Let's see how to do it in Ruby.
Tests reporters help us to increase the readability of our whole test suite. Let's see how to improve the default one.
A little guide about how to handle constants in Ruby
Turbo is precisely made to speed up page transition, but sometimes it's better to have a slower page transition - that works.
A quick memo about how to add or remove a Stimulus controller - I recommend to rely on generator this time.
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
Rollup and Esbuild can both handle JavaScript files in a Rails app. I made some little experiments, both locally and in-production.
A beginner friendly guide about Ruby regexes. Even if nowadays, ChatGPT tend to be not-too-bad in this field :)
Algorithms are probably one of the only disciplines of web development (maybe with testing) that requires lots of regular training before being ma...
Heroku is the most well-known deployment platform, and also the easiest to use. Let's try it on a fresh but realistic Rails 7 application.
Learn how to benchmark (i.e. measure performance) Ruby code in this small article.
Laravel 11 is the new version of Laravel - at the time of writing. Let's see how to install it on a Ubuntu-based machine.
Hatchbox.io is a deployment platform for Ruby-on-Rails users. I used it recently, so for people ashamed of trying, here is my review.
Whether MBappé is able to join Real Madrid depends on your ability to write the correct algorithm
Turbo frame is a powerful feature of Hotwire, here is a quick memo about how to follow conventions in the simplest case. Convention over configurat...