sezama03 said almost 7 years ago on Serialized Attributes :

I have two questions: 

1. Is it a good idea to user after_initialize callback in the user model? It will trigger the callback even for persisted data. 

2. Why are you using a singleton method into this callback?

Thank you so much for this awesome videos. 

Login to Comment