read directly from rails database record. #rails