Extract logic to gem can_field