base active record prepare upload dir is public now