An alternative to the ActiveRecord after_initialize callbacks

Avoiding the callback hell in Rails by creating a simple method in the model to initialize associated records.

October 3, 2020 · 1 min

Chaining conditions in regular expressions

Unleash the full power of regular expressions by chaining conditions together.

October 3, 2020 · 2 min
Mastodon