Rails administrate : big tutorial, bits of philosophy

administrate is a gem that allows you to build an admin dashboard. It's often qualified as DSL-less admin builder, i.e. every file your admin dashboard rely on, can be fully overridden by the developer. Let's see how.

Posted February 28, 2022 - tagged ruby-on-rails

9 min read

Ruby - attr_accessor, attr_writer, and attr_reader

In Ruby, object methods are public by default, while data is private. To access data, we use the accessor method.

Posted February 24, 2022 - tagged ruby

6 min read

Action Mailer : a tutorial

Action Mailer is already included in any new Rails application. However in this tutorial we will take time to see how each piece of code works. In development, test and production mode. Thus, we hope to increase confidence, and remove any bug fear of any newcomer to the stack.

Posted February 21, 2022 - tagged ruby-on-rails

8 min read

BootrAils released ! 🎉

After weeks of developing a minimalist and easy-to-use Ruby-on-Rails starter kit, we are finally releasing publicly Bootrails.

Posted February 16, 2022 - tagged changelog

Last update : December 8, 2022 8 min read

Debug Rails 7 with ruby/debug

From Rails 7, byebug has been replaced by ruby/debug, a feature that is available in Ruby 3.1, and available as a gem in every new Rails project.

Posted February 14, 2022 - tagged ruby-on-rails

11 min read

Ruby constants

How to define constants in Ruby, and how to use them - with one tricky part.

Posted February 10, 2022 - tagged ruby

3 min read

Custom esbuild for Rails

Inside Rails 7 apps, esbuild is wrapped into jsbundling. But what if you want to customize this build ?

Posted February 7, 2022 - tagged ruby-on-rails

5 min read

Ruby regex, a friendly guide

Ruby regexes are not so easy to grab. We tried to make this little tutorial as simple as possible.

Posted February 3, 2022 - tagged ruby

Last update : June 20, 2022 7 min read

Rails, Sidekiq : full tutorial

Sidekiq allows Rails to launch any task in the background. Let's see how, from zero to production.

Posted January 31, 2022 - tagged ruby-on-rails

8 min read

Milliseconds in Ruby

How to get milliseconds in Ruby ? Let's explore 3 scenarii.

Posted January 27, 2022 - tagged ruby

2 min read