-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Hi.
I have user class. and User has one profile.
Profile has enable attribute.
If I do next:
user.profile.enable = true;
user.save!
It work ok and new value (true) stored in DB successful.
But if I have any :after_initialize callback.
Then after save field "enable" leaves in false state.
Why?
Is this a bug or a feature?