I'm using the console in Rails to inspect some objects, like so:
dc = DependencyCondition.new
# => #<DependencyCondition id: nil, dependency_id: nil, rule_key: nil, question_id: nil, operator: nil, answer_id: nil, datetime_value: nil, integer_value: nil, float_value: nil, unit: nil, text_value: nil, string_value: nil, response_other: nil, created_at: nil, updated_at: nil>
I find this output difficult to read and inspect, especially with multiple objects. I would love if the output came out like this:
# => #<DependencyCondition id: nil,
dependency_id: nil, rule_key: nil,
question_id: nil,
operator: nil,
answer_id: nil,
datetime_value: nil,
integer_value: nil,
float_value: nil,
unit: nil,
text_value: nil,
string_value: nil,
response_other: nil,
created_at: nil,
updated_at: nil>
Is there an easy way to achieve this or something I should probably already know that I don't?