dirty_attributes
This should do the trick:
Pergunta
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?
Solução
dirty_attributes
This should do the trick: