An after_find hook for ActiveModelBehavior #2279
ElaBosak233
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think ActiveModelBehavior is very user-friendly, but sometimes I may need to make some modifications to the model after it is retrieved (such as writing data to virtual fields). For example, each of my users will have an avatar struct, but the data in it is scanned from the local directory and is not related to the database.
Beta Was this translation helpful? Give feedback.
All reactions