Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Only show empty_value for attributes_table row if the row is actually empty #1479
This was referenced
Jul 6, 2012
commented on the diff
Mar 10, 2013
|@@ -50,7 +51,7 @@ def content_for(attr_or_proc)|
|value = pretty_format(value)|
|- value == "" || value == nil ? empty_value : value|
|+ (value == "" || value == nil) && previous == current_arbre_element.to_s ? empty_value : value|