Flowdock
method

_create_record

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveRecord::Locking::Optimistic
_create_record(attribute_names = self.attribute_names, *) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/locking/optimistic.rb, line 69
        def _create_record(attribute_names = self.attribute_names, *) # :nodoc:
          if locking_enabled?
            # We always want to persist the locking version, even if we don't detect
            # a change from the default, since the database might have no default
            attribute_names |= [self.class.locking_column]
          end
          super
        end
Register or log in to add new notes.