tlconnor/activerecord-postgres-array

PG::InvalidTextRepresentation

abstractcoder opened this issue · 11 comments

Upgrading to v0.0.10 breaks my current application.

PG::InvalidTextRepresentation: ERROR:  array value must start with "{" or dimension information

I receive this error if the array is empty, haven't tested with an array with values.

Version v0.0.9, which doesn't throw error

["modifier_ids", "{}"]

Version v0.0.10, which throws error

["modifier_ids", "'{}'"]

I'm on Postgres 9.1.3.

Same here.

Same here. It seems this is introduced in commit c9b7928. Any ideas why these single quotes were introduced here?

Same here. Any working fixes?

I'm having the same problem. Any ideas?

Same here, pleaeaease fix.

Same problem here. Downgrade to 0.0.9 makes it work.

Had the same problem, downgraded to 0.0.9

Hi everyone. As you've probably noticed I am no longer maintaining this project. The main reasons being that I no longer have the luxury of working with PosgreSQL. If someone here would be willing to take over maintenance I could give them write access, or alternatively I could create a new github account and transfer the repo over.

Hi Tim, thanks for the work so far. I have to pass your offer, since I'm upgraded to Rails 4 recently and removed the gem.

The same here, downgraded to 0.0.9 and everything working again. Thanks @tlconnor for the hard work.

vjt commented

My 2c: Rails 4 has native support for array, hstore and json. Upgrading is really worth it. 😃

~Marcello

~ vjt@openssl.it
~ http://sindro.me/

On 11 Apr 2014, at 00:21, José Francisco Calvo notifications@github.com wrote:

The same here, downgraded to 0.0.9 and everything working again. Thanks @tlconnor for the hard work.


Reply to this email directly or view it on GitHub.