Webpacker and Sprockets both try to manage the frontend assets of Ruby-on-Rails applications. They are both integrated inside default Rails applications. But they're doing the same job actually, so after 4 years of using both, it's time to choose.
Posted April 1, 2021 - tagged ruby-on-rails ‐ 5 min read
More often than not, you have to check if an object is empty or not, to avoid the famous *NullPointerException* - which is a *NoMethodError* in Ruby.
Posted March 30, 2021 - tagged ruby ‐ 7 min read
Rails is a full-stack web framework, based on Ruby. If you want to learn Rails and you already have some coding experience, here are my opinions. As any opinion, it can be widely discussed :)
Posted March 22, 2021 - tagged ruby-on-rails ‐ 8 min read
'rails new' is a well-known command to create fresh new Rails application. There is now a --minimal flag that allow the developer to build the most simple possible Rails app. Let's see how to take profit from this simplification.
Posted March 16, 2021 - tagged ruby-on-rails ‐ 6 min read
I have always used ActiveSupport, but I wasn't aware of it. Until I meet a tweet from Sebastien, who will launch a course about ActiveSupport soon. So I decided to interview him about this Rails 'magic feature'.
Posted March 11, 2021 - tagged ruby-on-rails ‐ 3 min read
I have never worked *without* jquery. I have never followed the 'no-jquery' hype. But let's face it, even the giants are removing jQuery from their stack. Rails 6 now works without jQuery. Bootstrap 5 now works without jQuery. So as a developer, when I see this kind of trend, I wonder if it's not time to reconsider.
Posted March 8, 2021 - tagged ruby-on-rails ‐ 2 min read