Rails submits forms using POST and all empty fields become “”. What is
the best way to allow those to remain NULL in the database? Is there a
better way than iterating through the hash with something like this?
params[:people].each.do {|h, k| k = nil if k == “”}
(is that the right way to iterate through a hash?)