adding batchPost to active record