You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save callbacks are not triggered when save is called unless something in the model has changed. This is incorrect, dirty tracking should only limit sending data to the server, not the save process itself.
Setting the disable_dirty attribute to true on the model before the save is called gets around this issue:
def active=(value)
self.disable_dirty = true
@active = value
end
sam
The text was updated successfully, but these errors were encountered:
Save callbacks are not triggered when save is called unless something in the model has changed. This is incorrect, dirty tracking should only limit sending data to the server, not the save process itself.
Setting the
disable_dirty
attribute to true on the model before the save is called gets around this issue:sam
The text was updated successfully, but these errors were encountered: