initialize_serial (DataMapper::Adapters::AbstractAdapter)

    # File lib/dm-core/adapters/abstract_adapter.rb, line 157
          def initialize_serial(resource, next_id)
            return unless serial = resource.model.serial(name)
            return unless serial.get!(resource).nil?
            serial.set!(resource, next_id)

            # TODO: replace above with this, once
            # specs can handle random, non-sequential ids
            #serial.set!(resource, rand(2**32))
          end