used Base.transaction to group post.save and votes.create