spree/spree — pull request #5477 by BenMorganIO (2014-10-12 16:49:10+00:00)
Title: Add carmen for seeds

Solves #4435.

Notes:

- The term "state" is still used. We could rename the model to "region" or "subregion". Also, Carmen comes with the ability to identify if a subregion is a state, province, territory, parish, and so on.
- We had 220 rows for countries. Carmen gives us 248 (including Antartica).
- We had US and Canada for states. We now have... A lot... I mean... A lot. Takes ~14 seconds to load. Tried using a mass insert. It didn't work since I couldn't figure out how to escape all the quotes. Someone with PG experience will be able to knot it down to 2 seconds without a doubt. 3661 states get added.