author-pic

Today I learned

CommandLineRunners in Spring Shell

Posted on March 25, 2022

Spring Shell uses a CommandLineRunner blocking the main thread in order to run the interactive communication with the user. Other CommandLineRunners without any defined @Order or a lower priority, will not be executed before...

Read full post

How to eager load files with Rails

Posted on March 04, 2022

Eager loading increases performance and thus is useful in production environments. But this conditional behaviour can also lead to works-on-my-machine moments.

Read full post

About generated methods for has_many relations

Posted on March 04, 2022

Besides making the collection of objects available through 16 more methods get added to the model automatically.

Read full post

Ruby class members are methods!

Posted on March 04, 2022

Members of a class are retrieved via sending message to the instance object. This means, accessing a property is the same as invoking a method with the same name. This can be used as a useful…

Read full post