Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Return blank PostCode when address is blank

$
0
0

That's returning a blank string. To return a null use:

if address.nil? then nil else this end

Viewing all articles
Browse latest Browse all 2665

Trending Articles