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
# Updates the attributes of the model from the passed-in hash and saves the# record, all wrapped in a transaction. If the object is invalid, the saving# will fail and false will be returned.defupdate(attributes)# The following transaction covers any possible database side-effects of the# attributes assignment. For example, setting the IDs of a child collectionwith_transaction_returning_statusdoassign_attributes(attributes)saveendend
ActiveRecord Code
ActiveMocker::Base Code
Calling update should save the record if it was not already persisted.
The text was updated successfully, but these errors were encountered: