lib/GDO/DB/GDT_AutoInc.rb
def after_create(gdo)
      id = ::GDO::DB::Connection.instance.insert_id
      not_dirty = false
      gdo.set_var(@name, id, not_dirty)
    end
# After insert, give id to the gdo

After insert, give id to the gdo
After insert give id to the gdo
def after_create(gdo)
      id = ::GDO::DB::Connection.instance.insert_id
      not_dirty = false
      gdo.set_var(@name, id, not_dirty)
    end
def after_create ( gdo ) id = :: GDO :: DB :: Connection . instance . insert_id not_dirty = false gdo . set_var ( @name , id , not_dirty ) end
After insert, give id to the gdo
After insert give id to the gdo
gdo