# File lib/active_record/mass_assignment_security/persistence.rb, line 60
      def update(attributes, options = {})
        # The following transaction covers any possible database side-effects of the
        # attributes assignment. For example, setting the IDs of a child collection.
        with_transaction_returning_status do
          assign_attributes(attributes, options)
          save
        end
      end