Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG::InvalidTextRepresentation #34

Open
abstractcoder opened this issue Sep 17, 2013 · 11 comments
Open

PG::InvalidTextRepresentation #34

abstractcoder opened this issue Sep 17, 2013 · 11 comments

Comments

@abstractcoder
Copy link

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.

@kostia
Copy link

kostia commented Sep 17, 2013

Same here.

@leovandriel
Copy link

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

@ckruse
Copy link

ckruse commented Oct 14, 2013

Same here. Any working fixes?

@jmolina4
Copy link

I'm having the same problem. Any ideas?

@jvdijk
Copy link

jvdijk commented Oct 18, 2013

Same here, pleaeaease fix.

@ipadolaf
Copy link

Same problem here. Downgrade to 0.0.9 makes it work.

vjt added a commit to ifad/activerecord-postgres-array that referenced this issue Nov 27, 2013
* leonardvandriel/master:
  Fix incorrect extraneous quoting (issues tlconnor#34 and tlconnor#37)
@BartlomiejSkwira
Copy link

Had the same problem, downgraded to 0.0.9

@tlconnor
Copy link
Owner

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.

@leovandriel
Copy link

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.

@jfcalvo
Copy link

jfcalvo commented Apr 10, 2014

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

@vjt
Copy link

vjt commented Apr 10, 2014

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

~Marcello

~ [email protected]
~ http://sindro.me/

On 11 Apr 2014, at 00:21, José Francisco Calvo [email protected] 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests