Added relative_length method to article model