Forum: Ruby how remove column name from null value record

8171bf64f427d9e606bb7be0be05fbad?d=identicon&s=25 Shalaka Kulkarni (sanpansha)
on 2017-03-27 00:34
Hi

I am working on ruby coding in watson appbuilder tool.

I want to remove if the column name is null then remove that from column
list so it won't show empty spaces.


for example:

custid :123
custname : john T
phone number :765-456-0987
birthdate : 12/3/1989
address : asdfgjhkk

suppose phone number field is null

then it is showing

custid :123
custname : john T
phone number :
birthdate : 12/3/1989
address : asdfgjhkk


I want following ..please let me know what will be the code for
following:


custid :123
custname : john T
birthdate : 12/3/1989
address : asdfgjhkk
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.