instance method update

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.2.22.5 Private

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

update(*)

No documentation comment.

Parameters

args rest
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 64
      def update(*)
        if partial_updates?
          # Serialized attributes should always be written in case they've been
          # changed in place.
          super(changed | (attributes.keys & self.class.serialized_attributes.keys))
        else
          super
        end
      end

Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 64 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::AttributeMethods::Dirty

Type at least 2 characters to search.

↑↓ navigate · open · esc close