On Tuesday, September 3, 2013 6:31:41 PM UTC-7, David Lutterkort wrote:

> Hi Jeremy,
>
> thanks for the quick reply; unfortunately, that does not seem to make a 
> difference. I've put together a Gist to show what I am doing (and to make 
> sure my other code doesn't interfere with anything): 
> https://gist.github.com/lutter/6431747
>
> I am running this under JRuby 1.7.4 with 'jruby pg_array_test.rb'
>

With the jdbc/postgres adapter you have to use the typecast_on_load plugin 
for array columns:

  Node.plugin :typecast_on_load, :hw_info

This is because the jdbc/postgres adapter doesn't use the same conversion 
procs as the postgres adapter.

An alternative is using the regular postgres adapter with the postgres-pr 
driver.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to