sub get_related_measurement_thingy { my ($self, $type_measurement) = @_; $self->variant_measurements_rs->find( $self->id, $type_measurement->measurement_id ); # the template should probably call ->value though }