fix SetPubliUid dependancy on Active Record