fix ActiveRecord  getRecords method With tableName  and set fullpath with db operation