I am trying to save zip codes which are passed in the params as \"07306\", and \"03452\", but to_i seems to be converting these string
\"07306\"
\"03452\"
to_i
Saving it as a string instead will alleviate that issue, and also would help future-proof things if you decide to support foreign ZIP codes which may or may not have letters in them.