the spree_core dependency should bring in activesupport, which would allow you to use `blank?` if you want to clean this up