Moved computed fields to an active record model callback to save computation time