method

_create_record

_create_record(attribute_names = self.attribute_names)
private

No documentation available.

# File activerecord/lib/active_record/locking/optimistic.rb, line 78
        def _create_record(attribute_names = self.attribute_names)
          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