dockyard/postgres_ext — pull request #37 by alno (2012-11-23 09:14:10+00:00)
Title: Fix number arrays + test

Number arrays fixed again and test provided.

Old fix (#87f79754fa20cfd71100be157ee4473bc2583ca1) was not successful as it called gsub! and other string-related methods on numbers.

So, new approach:
* cast value first
* then, if it's string apply string-related transformations