dirty_attributes
This should do the trick:
سؤال
I'm sure I remember a way to get a list of the properties for a resource that are dirty, but I can't seem to find the method anywhere.
So is there some method for returning an array of dirty properties?
المحلول
dirty_attributes
This should do the trick: