save post and create vote inside ActiveRecord::Base.transaction