Store CSPC and UPC Codes in Rails
Posted
by Kevin Sylvestre
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Sylvestre
Published on 2010-05-14T06:19:33Z
Indexed on
2010/05/14
6:24 UTC
Read the original article
Hit count: 255
ruby-on-rails
What the best way to store CSPC and UPC codes are in Rails? I used integers with SQLite, but had overflow issues when moving to production. I've since switch to strings, but am not sure if a better generic datatype (needs to support SQLite, MySQL and PostgreSQL).
Thanks.
© Stack Overflow or respective owner