using HEAD of apn_rails