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
With an entity product stored with product.color = 'red' using product.assign_attribute(color: 'blue') and product.changed? returns false where it should be true.
The text was updated successfully, but these errors were encountered:
With an entity
product
stored withproduct.color = 'red'
usingproduct.assign_attribute(color: 'blue')
andproduct.changed?
returnsfalse
where it should betrue
.The text was updated successfully, but these errors were encountered: