Open bogdan opened 9 years ago
Thanks for reporting your issue! This is one of my 1 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.
I'm open to a pull request depending on what the specific ASCII graphic is. Personally I don't have a need for this use case. I would just append .compact
to any troublesome result
Append .compact
doesn't always tell you a story. Especially when you are viewing a small set of records and want to know corresponding project
for each. .compact
will remove relations: you would know that only m of n users have projects but you don't know which ones from the initial list.
Understood. I'm open to an explorative pull request
It appears that all items in an array are treated as the same type.
When I do
2.2.2 :010 > [Katello::Repository.first, Katello::ContentViewPuppetEnvironment.first]
I am seeing
Hirb Error: undefined method `cp_label' for #<Katello::ContentViewPuppetEnvironment:0x000000077a7ab8>
UPDATE: I am using hirb-0.7.3
Suppose that I am doing the following:
But not all users are having projects, only some of them. In this case what I am gonna see is:
if the first user in result has projects and
inspect
output otherwise.This is tricky and very confusing.
It would be cooler if hirb would realise that some objects in result set are nil and some are not, and represent nil rows with some clear ASCII graphics instead.