Check emptiness in Ruby : nil? vs blank? vs empty? vs presence?

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

How to learn Rails when you already have coding experience

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 app, options, and minimalistic approach

'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

Active Support : Rails delightful additions to Ruby

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

Rails without jQuery : a new journey has started

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

Rails 6, Bootstrap 5 : a tutorial

Bootstrap 5 is highly customisable and delightful when you need to deliver a consistent design as fast as possible. Let's see how to use it with the last Rails version.

Posted March 2, 2021 - tagged ruby-on-rails

Last update : December 21, 2021 6 min read