Hello,
I have a feeling that AttributeTypecastBehavior should also cast the old attributes in the afterFind “mode”. Otherwise an ActiveRecord always gonna be dirty after casting when using typecastAfterFind.
Best regards,
Aleksander
Hello,
I have a feeling that AttributeTypecastBehavior should also cast the old attributes in the afterFind “mode”. Otherwise an ActiveRecord always gonna be dirty after casting when using typecastAfterFind.
Best regards,
Aleksander