You can use after_initialize callback for these purposes api.rubyonrails.org/v7.1.1/c…

Oct 23, 2023 · 1:49 PM UTC

215