add factory girl to development env

fix bug when generating scaffolds