Set up active record database in rabbit class